Skip to content

Commit 3809608

Browse files
committed
chore: update pingap sevice
1 parent d9c9b40 commit 3809608

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

Diff for: pingap.service

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
# Pingap server
2+
# /usr/lib/systemd/system/pingap.service
3+
# sudo systemctl enable pingap.service
4+
25

36
[Unit]
47
Description=A high performance web server and a reverse proxy server
58
After=network.target nss-lookup.target
69

710
[Service]
8-
Type=forking
11+
Type=simple
12+
User=root
913
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
1317
TimeoutStopSec=5
1418
KillMode=mixed
1519

0 commit comments

Comments
 (0)