summarylogtreecommitdiffstats
path: root/bitwarden-identity.service
diff options
context:
space:
mode:
authorAntoine2018-05-13 20:53:38 +0200
committerAntoine2018-05-13 20:53:38 +0200
commitf6324b57654ee419f7438e8804e6513961680c04 (patch)
treed3f3a69130662d9875072907d5272c48e0c78d5e /bitwarden-identity.service
downloadaur-f6324b57654ee419f7438e8804e6513961680c04.tar.gz
First version
Diffstat (limited to 'bitwarden-identity.service')
-rw-r--r--bitwarden-identity.service19
1 files changed, 19 insertions, 0 deletions
diff --git a/bitwarden-identity.service b/bitwarden-identity.service
new file mode 100644
index 00000000000..9fe687a3dd5
--- /dev/null
+++ b/bitwarden-identity.service
@@ -0,0 +1,19 @@
+[Unit]
+Description=Bitwarden Identity
+PartOf=bitwarden-server.service
+After=bitwarden-server.service itwarden-mssql.service
+
+[Service]
+ExecStart=/usr/bin/docker run --rm --name bitwarden-identity \
+ --env-file /etc/bitwarden/global.env \
+ --env-file /etc/bitwarden/uid.env \
+ --volume /var/lib/bitwarden/identity:/etc/bitwarden/identity \
+ --volume /var/lib/bitwarden/core:/etc/bitwarden/core \
+ --volume /var/log/bitwarden/identity:/etc/bitwarden/logs \
+ --network bitwarden-net \
+ bitwarden/identity:1.19.0
+ExecStop=/usr/bin/docker kill bitwarden-identity
+Restart=on-failure
+
+[Install]
+WantedBy=bitwarden-server.service \ No newline at end of file