File tree 1 file changed +8
-4
lines changed
1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 1
1
# Pingap server
2
+ # /usr/lib/systemd/system/pingap.service
3
+ # sudo systemctl enable pingap.service
4
+
2
5
3
6
[Unit]
4
7
Description =A high performance web server and a reverse proxy server
5
8
After =network.target nss-lookup.target
6
9
7
10
[Service]
8
- Type =forking
11
+ Type =simple
12
+ User =root
9
13
PIDFile =/run/pingap.pid
10
- ExecStartPre =/usr/sbin/pingap --conf =/etc/pingap/conf?separation -t'
11
- ExecStart=/usr/sbin/pingap --conf=/etc/pingap/conf?separation -d --log=/var/pingap/logs --autorestart
12
- # ExecStop=- /sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /run/pingap.pid
14
+ ExecStartPre =/usr/sbin/pingap --conf =/etc/pingap/conf?separation -t
15
+ ExecStart =/usr/sbin/pingap --conf =/etc/pingap/conf?separation -d --log =/var/log/pingap --autorestart
16
+ ExecStop =/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /run/pingap.pid
13
17
TimeoutStopSec =5
14
18
KillMode =mixed
15
19
You can’t perform that action at this time.
0 commit comments