diff options
author | Jernej Jakob <jernej.jakob@gmail.com> | 2020-05-08 14:58:06 +0200 |
---|---|---|
committer | Jernej Jakob <jernej.jakob@gmail.com> | 2020-05-08 15:10:33 +0200 |
commit | 3fef9d2d71eaae0b862f114fafc756b1706f0e6d (patch) | |
tree | 667fa5b9b891b60e61bc8fadac09b25a8a74f594 /data/templates/pim | |
parent | 29dee3abb55d0f0c6b91b311f30521b45d7e46b6 (diff) | |
download | vyos-1x-3fef9d2d71eaae0b862f114fafc756b1706f0e6d.tar.gz vyos-1x-3fef9d2d71eaae0b862f114fafc756b1706f0e6d.zip |
dhcp-server: T2438: change systemd service type, validate config file
The default of systemd services Type=simple isn't suitable for dhcpd and
other daemons.
- change service type to forking
- add RuntimeDirectory
- set paths to files in Environment
- set PIDFile
- validate config and lease file in ExecStartPre
- add -q to make dhcpd quiet and only log to syslog
- set Restart=always
Diffstat (limited to 'data/templates/pim')
0 files changed, 0 insertions, 0 deletions