implement conf test option and improve systemd service
This commit is contained in:
@@ -5,9 +5,10 @@ After=network.target
|
||||
[Service]
|
||||
Type=simple
|
||||
#PIDFile=/run/rmps/rmpsd.pid
|
||||
ExecStart=/usr/bin/rmpsd start --daemonize=no
|
||||
ExecStop=/usr/bin/rmpsd stop
|
||||
ExecReload=/usr/bin/rmpsd reload
|
||||
ConfFile=/etc/rmps/rmps.conf
|
||||
ExecStart=/usr/bin/rmpsd --start -c $ConfFile
|
||||
ExecStop=/usr/bin/rmpsd --stop -c $ConfFile
|
||||
ExecReload=/usr/bin/rmpsd --restart -c $ConfFile
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
|
||||
Reference in New Issue
Block a user