From 87ebe103000ff51e67a538a806827aefc24a8ff2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zlatko=20=C4=8Calu=C5=A1i=C4=87?= Date: Fri, 30 Dec 2016 23:26:15 +0100 Subject: [PATCH] Update to cobra style flags --- README.md | 2 +- etc/rest-server.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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