Skip to content

Commit 211ffab

Browse files
committed
Fix kill mode stopping the built-in PostgreSQL
This was preventing final cleanups from occurring!
1 parent c5afaff commit 211ffab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

coder.service

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@ AmbientCapabilities=CAP_IPC_LOCK CAP_NET_BIND_SERVICE
2020
CacheDirectory=coder
2121
CapabilityBoundingSet=CAP_SYSLOG CAP_IPC_LOCK CAP_NET_BIND_SERVICE
2222
KillSignal=SIGINT
23+
KillMode=mixed
2324
NoNewPrivileges=yes
2425
ExecStart=/usr/bin/coder server
2526
Restart=on-failure
2627
RestartSec=5
27-
TimeoutStopSec=30
28+
TimeoutStopSec=90
2829

2930
[Install]
3031
WantedBy=multi-user.target

0 commit comments

Comments
 (0)