Skip to content

Commit f7185df

Browse files
committed
fix: systemd KillMode=none
2 parents d19a776 + ec5ad9c commit f7185df

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)