#
Systemd Service Template
/etc/systemd/system/<name of the service>
service
# <Name of the Service>
# ----------------------------------
[Unit]
Description=<your description>
After=network-online.target #wait for network connection
[Service]
User=<user as which to run>
Group=<group as wichi to run>
Restart=always
WorkingDirectory=<working dir>
ExecStart=<start command>
StartLimitInterval=180
StartLimitBurst=30
RestartSec=5s
[Install]
WantedBy=multi-user.target