deploy: fix service example

This commit is contained in:
2026-01-02 13:13:40 +08:00
parent 49fdda6e77
commit 8a90db7c27
2 changed files with 9 additions and 4 deletions
+4 -2
View File
@@ -29,6 +29,8 @@ Wants=network-online.target
[Service]
Type=forking
# CHANGE THIS: Replace with your actual username
User=username
# CHANGE THIS: Replace with your actual installation path
# Example: /home/username/CheckInApp
@@ -44,8 +46,8 @@ ExecStart=/path/to/CheckInApp/manage.sh start backend
ExecStop=/path/to/CheckInApp/manage.sh stop backend
# Restart policy
Restart=always
RestartSec=10
Restart=on-failure
RestartSec=10s
# Kill settings
KillSignal=SIGTERM