mirror of
https://github.com/restic/rest-server.git
synced 2025-10-19 15:43:21 +00:00
Example systemd service file
This commit is contained in:
parent
ad003274d2
commit
1afd09d98a
1 changed files with 16 additions and 0 deletions
16
etc/restic-server.service
Normal file
16
etc/restic-server.service
Normal file
|
@ -0,0 +1,16 @@
|
|||
[Unit]
|
||||
Description=Restic Server
|
||||
After=syslog.target
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=www-data
|
||||
Group=www-data
|
||||
ExecStart=/usr/local/bin/restic-server -path /tmp/restic
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
StartLimitInterval=0
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue