view examples/geohub.service @ 147:51004e96b2d0 default tip

track_ICE: Reduce sending timeout
author Lewin Bormann <lbo@spheniscida.de>
date Thu, 25 Aug 2022 11:45:46 +0200
parents da9fb0032788
children
line wrap: on
line source

[Unit]
Description=A Real Time Geo Data Framework

After=network.target
Wants=postgresql.service

[Service]
Type=exec
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
User=youruser

[Install]
WantedBy=multi-user.target