mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-24 10:49:20 -07:00
Updated Setup as a systemd service (markdown)
@@ -5,8 +5,28 @@ Making bitwarden_rs start on system startup and use the other facilities of syst
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Bitwarden Server (Rust Edition)
|
Description=Bitwarden Server (Rust Edition)
|
||||||
Documentation=https://github.com/dani-garcia/bitwarden_rs
|
Documentation=https://github.com/dani-garcia/bitwarden_rs
|
||||||
|
# If you use a database like mariadb,mysql or postgresql,
|
||||||
|
# you have to add them like the following and uncomment them
|
||||||
|
# by removing the `# ` before it. This makes sure that your
|
||||||
|
# database server is started before bitwarden_rs ("After") and has
|
||||||
|
# started successfully before starting bitwarden_rs ("Requires").
|
||||||
|
|
||||||
|
# Only sqlite
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
|
# MariaDB
|
||||||
|
# After=network.target mariadb.service
|
||||||
|
# Requires=mariadb.service
|
||||||
|
|
||||||
|
# Mysql
|
||||||
|
# After=network.target mysqld.service
|
||||||
|
# Requires=mysqld.service
|
||||||
|
|
||||||
|
# PostgreSQL
|
||||||
|
# After=network.target postgresql.service
|
||||||
|
# Requires=postgresql.service
|
||||||
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
# The user/group bitwarden_rs is run under. the working directory (see below) should allow write and read access to this user/group
|
# The user/group bitwarden_rs is run under. the working directory (see below) should allow write and read access to this user/group
|
||||||
User=bitwarden_rs
|
User=bitwarden_rs
|
||||||
|
|||||||
Reference in New Issue
Block a user