blob: 8c639a96a1672c0ed757528dedde9b7507805ff8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/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}
}
|