rest-server/etc/rest-server.service
2016-12-30 23:26:15 +01:00

16 lines
267 B
Desktop File

[Unit]
Description=Rest Server
After=syslog.target
After=network.target
[Service]
Type=simple
User=www-data
Group=www-data
ExecStart=/usr/local/bin/rest-server --path /tmp/restic
Restart=always
RestartSec=5
StartLimitInterval=0
[Install]
WantedBy=multi-user.target