diff options
Diffstat (limited to 'app-admin/vaultwarden/files/init')
-rw-r--r-- | app-admin/vaultwarden/files/init | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app-admin/vaultwarden/files/init b/app-admin/vaultwarden/files/init new file mode 100644 index 0000000..66fd2ea --- /dev/null +++ b/app-admin/vaultwarden/files/init @@ -0,0 +1,13 @@ +#!/sbin/openrc-run +# Copyright 1999-2021 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +command="/var/lib/vaultwarden/vaultwarden" +pidfile="/run/vaultwarden.pid" +description="Unofficial Vaultwarden compatible server written in Rust" +start_stop_daemon_args="--env VAULTWARDEN_CONFIG=$VAULTWARDEN_CONFIG --user ${VAULTWARDEN_USER} --group ${VAULTWARDEN_GROUP} --pidfile ${pidfile} --make-pidfile --background" + +depend() { + need net + use mysql postgresql +} |