added systemd unit
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Jake Hillion 2021-05-14 00:19:06 +01:00
parent 842a3b578a
commit 2666c4a2a5

View File

@ -19,6 +19,27 @@
See http://kb.linuxvirtualserver.org/wiki/Using_arp_announce/arp_ignore_to_disable_ARP
### Systemd unit
[Unit]
Description=NetCombiner for interface %i
After=network-online.target
[Service]
Type=forking
ExecStartPre=/etc/netcombiner/%i.pre
ExecStart=/usr/local/sbin/netcombiner %i
ExecStartPost=/etc/netcombiner/%i.post
User=root
Group=root
Restart=always
[Install]
WantedBy=multi-user.target
### Setup Scripts
These are functional setup scripts that make the application run as intended on Linux.