Skip to content

Commit ec5ad9c

Browse files
DavidsonGomesclaude
andcommitted
fix: add KillMode=none to systemd service — prevent nohup processes from being killed
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 99fe574 commit ec5ad9c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

install-service.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ Documentation=https://github.com/EvolutionAPI/evo-nexus
102102
[Service]
103103
Type=oneshot
104104
RemainAfterExit=yes
105+
KillMode=none
105106
User=$SERVICE_USER
106107
Group=$SERVICE_USER
107108
WorkingDirectory=$SERVICE_DIR

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -732,6 +732,7 @@ def _setup_systemd_service(service_user, install_dir, logs_dir):
732732
[Service]
733733
Type=oneshot
734734
RemainAfterExit=yes
735+
KillMode=none
735736
User={service_user}
736737
Group={service_user}
737738
WorkingDirectory={install_dir}

0 commit comments

Comments
 (0)