diff options
author | Jernej Jakob <jernej.jakob@gmail.com> | 2020-05-08 15:09:12 +0200 |
---|---|---|
committer | Jernej Jakob <jernej.jakob@gmail.com> | 2020-05-08 15:10:54 +0200 |
commit | 03317e9e675cf42dbbfc6afdde1d9f619186fcba (patch) | |
tree | 36c20ab030cd04aec741997fb2ede663bcac2895 /src/conf_mode/tftp_server.py | |
parent | 3fef9d2d71eaae0b862f114fafc756b1706f0e6d (diff) | |
download | vyos-1x-03317e9e675cf42dbbfc6afdde1d9f619186fcba.tar.gz vyos-1x-03317e9e675cf42dbbfc6afdde1d9f619186fcba.zip |
dhcpv6-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 'src/conf_mode/tftp_server.py')
0 files changed, 0 insertions, 0 deletions