2023-08-14 03:34:04 +00:00
|
|
|
#!/sbin/openrc-run
|
|
|
|
|
|
|
|
name=$RC_SVCNAME
|
|
|
|
cfgfile="/etc/qubes/$RC_SVCNAME.conf"
|
2024-10-16 23:36:49 +00:00
|
|
|
command="/usr/sbin/qubesdb-daemon"
|
2023-08-14 03:34:04 +00:00
|
|
|
command_args="0"
|
|
|
|
command_user="root"
|
|
|
|
pidfile="/run/qubes/$RC_SVCNAME.pid"
|
|
|
|
start_stop_daemon_args=""
|
|
|
|
command_background="true"
|
|
|
|
output_log="/var/log/qubes/$RC_SVCNAME.log"
|
|
|
|
error_log="/var/log/qubes/$RC_SVCNAME.err"
|
|
|
|
|
|
|
|
start_pre() {
|
|
|
|
checkpath --directory --owner $command_user:qubes --mode 0775 \
|
|
|
|
/run/qubes \
|
|
|
|
/var/log/qubes \
|
|
|
|
/var/run/qubes
|
|
|
|
}
|