File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -100,17 +100,15 @@ After=network.target
100100Documentation=https://github.com/EvolutionAPI/evo-nexus
101101
102102[Service]
103- Type=forking
103+ Type=oneshot
104+ RemainAfterExit=yes
104105User=$SERVICE_USER
105106Group=$SERVICE_USER
106107WorkingDirectory=$SERVICE_DIR
107108Environment=PATH=$SERVICE_HOME /.local/bin:/usr/local/bin:/usr/bin:/bin
108109Environment=HOME=$SERVICE_HOME
109110ExecStart=/bin/bash $SERVICE_DIR /start-services.sh
110111ExecStop=/bin/bash -c 'pkill -f "terminal-server/bin/server.js" 2>/dev/null; pkill -f "dashboard/backend.*app.py" 2>/dev/null'
111- PIDFile=$SERVICE_DIR /logs/dashboard.pid
112- Restart=on-failure
113- RestartSec=10
114112StandardOutput=append:$SERVICE_DIR /logs/service.log
115113StandardError=append:$SERVICE_DIR /logs/service.log
116114
You can’t perform that action at this time.
0 commit comments