webserver: Use SIGKILL instead of SIGTERM

This commit is contained in:
Tristan Daniël Maat 2021-05-17 00:18:51 +01:00
parent 343c7fcc36
commit 4c94932490
Signed by: tlater
GPG key ID: 49670FD774E43268

View file

@ -34,6 +34,10 @@
ports = [ "3002:3002" ]; ports = [ "3002:3002" ];
volumes = [ "tlaternet-mail:/srv/mail" ]; volumes = [ "tlaternet-mail:/srv/mail" ];
extraOptions = [ "--hostname=tlater.net" ]; extraOptions = [
"--hostname=tlater.net"
# Rocket 0.4 doesn't support SIGTERM anyway, so SIGKILL is the cleanest exit possible.
"--stop-signal=SIGKILL"
];
}; };
} }