mirror of
https://github.com/restic/rest-server.git
synced 2025-10-19 15:43:21 +00:00
Update to cobra style flags
This commit is contained in:
parent
f775e15484
commit
87ebe10300
2 changed files with 2 additions and 2 deletions
|
@ -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:
|
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
|
The server uses an `.htpasswd` file to specify users. You can create such a file at the root of the persistence
|
||||||
|
|
|
@ -7,7 +7,7 @@ After=network.target
|
||||||
Type=simple
|
Type=simple
|
||||||
User=www-data
|
User=www-data
|
||||||
Group=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
|
Restart=always
|
||||||
RestartSec=5
|
RestartSec=5
|
||||||
StartLimitInterval=0
|
StartLimitInterval=0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue