5a5d3d032e
- add PIDFile= setting to dhcrelay.service, without this systemd stops the service immediately after starting OBS-URL: https://build.opensuse.org/request/show/561794 OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=184
17 lines
383 B
Desktop File
17 lines
383 B
Desktop File
[Unit]
|
|
Description=ISC DHCPv4 Relay Agent
|
|
Before=multi-user.target
|
|
After=remote-fs.target network.target nss-lookup.target time-sync.target ldap.service ndsd.service
|
|
|
|
[Service]
|
|
Type=forking
|
|
Restart=on-abort
|
|
ExecStart=/usr/lib/dhcp/dhcrelay -4 start
|
|
ExecStop=/usr/lib/dhcp/dhcrelay -4 stop
|
|
PIDFile=/var/run/dhcrelay.pid
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
Alias=dhcp-relay.service
|
|
|