#!/sbin/openrc-run DBUS_SESSION_BUS_ADDRESS="unix:path=${XDG_RUNTIME_DIR}/bus" SECRETSD_HOME=${XDG_DATA_HOME}/secretsd description="Lightweight Wayland notification daemon" command="/usr/bin/secretsd" command_args="--no-syslog --db-path=${SECRETSD_HOME}/db --key-location=file:${SECRETSD_HOME}/key" supervisor=supervise-daemon error_logger="logger -t '${RC_SVCNAME}' -p daemon.error" depend() { need dbus } start_pre() { checkpath -q -d ${SECRETSD_HOME} }