mirror of
https://github.com/restic/rest-server.git
synced 2025-12-07 09:36:13 -08:00
Update to cobra style flags
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user