mirror of
https://github.com/dani-garcia/bitwarden_rs
synced 2024-11-22 09:55:57 +01:00
v2, add sections and reference to systemd-docker
parent
47ff038282
commit
cf88b579db
6
Setup-bitwarden_rs-as-a-systemd-service-(autostart).md → Setup-bitwarden_rs-as-a-systemd-service.md
6
Setup-bitwarden_rs-as-a-systemd-service-(autostart).md → 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:
|
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]
|
[Unit]
|
||||||
@ -36,8 +38,8 @@ To make systemd aware of it, run
|
|||||||
```
|
```
|
||||||
$ sudo systemctl daemon-reload
|
$ sudo systemctl daemon-reload
|
||||||
```
|
```
|
||||||
|
## Usage
|
||||||
To start this new "service", run
|
To start this "service", run
|
||||||
```
|
```
|
||||||
$ sudo systemctl start bitwarden_rs.service
|
$ sudo systemctl start bitwarden_rs.service
|
||||||
```
|
```
|
Loading…
Reference in New Issue
Block a user