From 2f0a16d8b709d4151c03c3ad23eda71367c956f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zlatko=20=C4=8Calu=C5=A1i=C4=87?= Date: Wed, 28 Dec 2016 21:52:19 +0100 Subject: [PATCH] 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 --- README.md | 14 +++++++------- etc/{restic-server.service => rest-server.service} | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) rename etc/{restic-server.service => rest-server.service} (69%) diff --git a/README.md b/README.md index 64890ea..d136895 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ -# Restic Server +# Rest Server -[![Build Status](https://travis-ci.org/zcalusic/restic-server.svg?branch=master)](https://travis-ci.org/zcalusic/restic-server) -[![Go Report Card](https://goreportcard.com/badge/github.com/zcalusic/restic-server)](https://goreportcard.com/report/github.com/zcalusic/restic-server) -[![GoDoc](https://godoc.org/github.com/zcalusic/restic-server?status.svg)](https://godoc.org/github.com/zcalusic/restic-server) -[![License](https://img.shields.io/badge/license-BSD%20%282--Clause%29-003262.svg?maxAge=2592000)](https://github.com/zcalusic/restic-server/blob/master/LICENSE) +[![Build Status](https://travis-ci.org/restic/rest-server.svg?branch=master)](https://travis-ci.org/restic/rest-server) +[![Go Report Card](https://goreportcard.com/badge/github.com/restic/rest-server)](https://goreportcard.com/report/github.com/restic/rest-server) +[![GoDoc](https://godoc.org/github.com/restic/rest-server?status.svg)](https://godoc.org/github.com/restic/rest-server) +[![License](https://img.shields.io/badge/license-BSD%20%282--Clause%29-003262.svg?maxAge=2592000)](https://github.com/restic/rest-server/blob/master/LICENSE) [![Powered by](https://img.shields.io/badge/powered_by-Go-5272b4.svg?maxAge=2592000)](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. ## Getting started @@ -16,7 +16,7 @@ directory: ``` 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 diff --git a/etc/restic-server.service b/etc/rest-server.service similarity index 69% rename from etc/restic-server.service rename to etc/rest-server.service index 2decd90..d998f11 100644 --- a/etc/restic-server.service +++ b/etc/rest-server.service @@ -1,5 +1,5 @@ [Unit] -Description=Restic Server +Description=Rest Server After=syslog.target After=network.target @@ -7,7 +7,7 @@ After=network.target Type=simple User=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 RestartSec=5 StartLimitInterval=0