mirror of
https://github.com/pavel-odintsov/fastnetmon.git
synced 2024-09-21 10:27:13 +00:00
Migrated FastNetMon to use simple daemon type instead of old forking one
This commit is contained in:
parent
9ee31530e4
commit
bffdec7109
@ -4,14 +4,11 @@ Documentation=man:fastnetmon(8)
|
||||
After=network.target remote-fs.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=@CMAKE_INSTALL_SBINDIR@/fastnetmon --daemonize
|
||||
PIDFile=/run/fastnetmon.pid
|
||||
Type=simple
|
||||
ExecStart=@CMAKE_INSTALL_SBINDIR@/fastnetmon
|
||||
Restart=on-failure
|
||||
RestartSec=3
|
||||
LimitNOFILE=65535
|
||||
#ExecReload=/bin/kill -s HUP $MAINPID
|
||||
#ExecStop=/bin/kill -s QUIT $MAINPID
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Loading…
Reference in New Issue
Block a user