fix: Use proper shutdown signal for systemd (#1179)

Coder was being killed instantly, which caused builds
to randomly fail!
This commit is contained in:
Kyle Carberry
2022-04-25 21:09:11 -05:00
committed by GitHub
parent 744a00a55d
commit 8d85d80a55
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -18,6 +18,7 @@ SecureBits=keep-caps
AmbientCapabilities=CAP_IPC_LOCK
CacheDirectory=coder
CapabilityBoundingSet=CAP_SYSLOG CAP_IPC_LOCK CAP_NET_BIND_SERVICE
KillSignal=SIGINT
NoNewPrivileges=yes
ExecStart=/usr/bin/coder server
Restart=on-failure