Mercurial > lbo > hg > geohub
changeset 106:da9fb0032788
Add RestartSec to systemd unit
author | Lewin Bormann <lbo@spheniscida.de> |
---|---|
date | Sat, 26 Dec 2020 08:28:38 +0100 |
parents | 44b0d141fcea |
children | 1edc60154ba9 |
files | examples/geohub.service |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/examples/geohub.service Fri Dec 25 11:58:49 2020 +0100 +++ b/examples/geohub.service Sat Dec 26 08:28:38 2020 +0100 @@ -9,6 +9,7 @@ ExecStart=/usr/local/bin/geohub KillMode=process Restart=on-failure +RestartSec=5 # Make sure that Rocket.toml is in the working directory. WorkingDirectory=/home/user/somewhere