Move systemd service file under examples/systemd/

This commit is contained in:
Zlatko Čalušić
2018-01-28 19:28:16 +01:00
parent 05c6a03ad7
commit f25bf989dc
2 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
[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