systemd unit files: do not write pid files (--no-pid)
This commit is contained in:
parent
5f2fc2001b
commit
d1dac665e7
@ -4,7 +4,7 @@ After=syslog.target network.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
EnvironmentFile=/etc/sysconfig/dhcpd
|
EnvironmentFile=/etc/sysconfig/dhcpd
|
||||||
ExecStart=/usr/sbin/dhcpd -d $DHCPDARGS
|
ExecStart=/usr/sbin/dhcpd -d --no-pid $DHCPDARGS
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
@ -4,7 +4,7 @@ After=syslog.target network.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
EnvironmentFile=/etc/sysconfig/dhcpd6
|
EnvironmentFile=/etc/sysconfig/dhcpd6
|
||||||
ExecStart=/usr/sbin/dhcpd -6 -d $DHCPDARGS
|
ExecStart=/usr/sbin/dhcpd -6 -d --no-pid $DHCPDARGS
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
@ -4,7 +4,7 @@ After=syslog.target network.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
EnvironmentFile=/etc/sysconfig/dhcrelay
|
EnvironmentFile=/etc/sysconfig/dhcrelay
|
||||||
ExecStart=/usr/sbin/dhcrelay -d $DHCRELAYARGS
|
ExecStart=/usr/sbin/dhcrelay -d --no-pid $DHCRELAYARGS
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
Reference in New Issue
Block a user