webserver: Use SIGKILL instead of SIGTERM

pull/44/head
Tristan Daniël Maat 2021-05-17 00:18:51 +01:00
parent 343c7fcc36
commit 4c94932490
Signed by: tlater
GPG Key ID: 49670FD774E43268
1 changed files with 5 additions and 1 deletions

View File

@ -34,6 +34,10 @@
ports = [ "3002:3002" ];
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"
];
};
}