diff --git a/README.md b/README.md index 1e96c8e..021cc3c 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ version info built into binary, when compiled that way. By default the server persists backup data in `/tmp/restic`. Start the server with a custom persistence directory: ``` -% rest-server -path /user/home/backup +% rest-server --path /user/home/backup ``` The server uses an `.htpasswd` file to specify users. You can create such a file at the root of the persistence diff --git a/etc/rest-server.service b/etc/rest-server.service index d998f11..63b7a1b 100644 --- a/etc/rest-server.service +++ b/etc/rest-server.service @@ -7,7 +7,7 @@ After=network.target Type=simple User=www-data Group=www-data -ExecStart=/usr/local/bin/rest-server -path /tmp/restic +ExecStart=/usr/local/bin/rest-server --path /tmp/restic Restart=always RestartSec=5 StartLimitInterval=0