scale-catalog/jails/bitwarden/includes/bitwarden.rc

18 lines
351 B
Plaintext
Raw Normal View History

#!/bin/sh
# PROVIDE: bitwarden
# REQUIRE: LOGIN DAEMON NETWORKING FILESYSTEMS
# KEYWORD: jail rust
. /etc/rc.subr
name="bitwarden"
rcvar=${name}_enable
pidfile="/var/run/${name}.pid"
command="/usr/sbin/daemon"
command_args="-u bitwarden -c -f -P ${pidfile} -r /usr/local/share/bitwarden/bin/bitwarden_rs"
load_rc_config $name
run_rc_command "$1"