mirror of
https://github.com/restic/rest-server.git
synced 2026-09-26 05:51:24 -07:00
Restic server shall be called Rest server from now on
The repo moved from github.com/zcalusic/restic-server to the new home github.com/restic/rest-server
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
# Restic Server
|
# Rest Server
|
||||||
|
|
||||||
[](https://travis-ci.org/zcalusic/restic-server)
|
[](https://travis-ci.org/restic/rest-server)
|
||||||
[](https://goreportcard.com/report/github.com/zcalusic/restic-server)
|
[](https://goreportcard.com/report/github.com/restic/rest-server)
|
||||||
[](https://godoc.org/github.com/zcalusic/restic-server)
|
[](https://godoc.org/github.com/restic/rest-server)
|
||||||
[](https://github.com/zcalusic/restic-server/blob/master/LICENSE)
|
[](https://github.com/restic/rest-server/blob/master/LICENSE)
|
||||||
[](https://golang.org/)
|
[](https://golang.org/)
|
||||||
|
|
||||||
Restic Server is a sample server that implements restic's REST backend API. It has been developed for demonstration
|
Rest Server is a sample server that implements restic's REST backend API. It has been developed for demonstration
|
||||||
purpose and is not intended to be used in production.
|
purpose and is not intended to be used in production.
|
||||||
|
|
||||||
## Getting started
|
## Getting started
|
||||||
@@ -16,7 +16,7 @@ directory:
|
|||||||
|
|
||||||
```
|
```
|
||||||
go install
|
go install
|
||||||
restic-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
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Restic Server
|
Description=Rest Server
|
||||||
After=syslog.target
|
After=syslog.target
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
@@ -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/restic-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
|
||||||
Reference in New Issue
Block a user