Update to cobra style flags

This commit is contained in:
Zlatko Čalušić 2016-12-30 23:26:15 +01:00
parent f775e15484
commit 87ebe10300
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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