mirror of
https://github.com/Cccc-owo/CheckInApp.git
synced 2026-06-17 05:56:29 +00:00
deploy: fix service example
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user