overlay/www-apps/gotify-server-bin/files/gotify-server-bin.service

18 lines
381 B
SYSTEMD
Raw Normal View History

[Unit]
Description=gotify server (bin)
Requires=network.target
After=network.target
[Service]
Type=simple
User=gotify
WorkingDirectory=/var/lib/gotify
ExecStart=/usr/bin/gotify-server-bin
Restart=always
RestartSec=10
StandardOutput=file:/var/log/gotify-server-bin/gotify-server-bin.log
StandardError=file:/var/log/gotify-server-bin/error.log
[Install]
WantedBy=multi-user.target