Skip to content

Commit

Permalink
chore: update pingap sevice
Browse files Browse the repository at this point in the history
  • Loading branch information
vicanso committed Dec 1, 2024
1 parent d9c9b40 commit 3809608
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions pingap.service
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
# Pingap server
# /usr/lib/systemd/system/pingap.service
# sudo systemctl enable pingap.service


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

[Service]
Type=forking
Type=simple
User=root
PIDFile=/run/pingap.pid
ExecStartPre=/usr/sbin/pingap --conf=/etc/pingap/conf?separation -t'
ExecStart=/usr/sbin/pingap --conf=/etc/pingap/conf?separation -d --log=/var/pingap/logs --autorestart
#ExecStop=-/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /run/pingap.pid
ExecStartPre=/usr/sbin/pingap --conf=/etc/pingap/conf?separation -t
ExecStart=/usr/sbin/pingap --conf=/etc/pingap/conf?separation -d --log=/var/log/pingap --autorestart
ExecStop=/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /run/pingap.pid
TimeoutStopSec=5
KillMode=mixed

Expand Down

0 comments on commit 3809608

Please sign in to comment.