From cf88b579dbfdc5aef323922d9dd72e67057db264 Mon Sep 17 00:00:00 2001 From: mqus <8398165+mqus@users.noreply.github.com> Date: Sat, 5 Jan 2019 02:16:26 +0100 Subject: [PATCH] v2, add sections and reference to systemd-docker --- ...ostart).md => Setup-bitwarden_rs-as-a-systemd-service.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) rename Setup-bitwarden_rs-as-a-systemd-service-(autostart).md => Setup-bitwarden_rs-as-a-systemd-service.md (89%) diff --git a/Setup-bitwarden_rs-as-a-systemd-service-(autostart).md b/Setup-bitwarden_rs-as-a-systemd-service.md similarity index 89% rename from Setup-bitwarden_rs-as-a-systemd-service-(autostart).md rename to Setup-bitwarden_rs-as-a-systemd-service.md index f338059..a72818d 100644 --- a/Setup-bitwarden_rs-as-a-systemd-service-(autostart).md +++ b/Setup-bitwarden_rs-as-a-systemd-service.md @@ -1,3 +1,5 @@ +These instructions require you to have compiled the bitwarden_rs binary. If you generated a docker image, you may want to look at [[Running with systemd-docker | Running-with-systemd-docker]] +## Setup Making bitwarden_rs start on system startup and use the other facilities of systemd (e.g. isolation, logging,...) requires a `.service` file. The following is a usable starting point: ``` [Unit] @@ -36,8 +38,8 @@ To make systemd aware of it, run ``` $ sudo systemctl daemon-reload ``` - -To start this new "service", run +## Usage +To start this "service", run ``` $ sudo systemctl start bitwarden_rs.service ```