diff options
| author | Robert Günzler <r@gnzler.io> | 2026-09-27 17:38:39 +0200 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2026-09-27 17:38:39 +0200 |
| commit | 0860db73ae6fd9a6f6347219d820bf026a6b8b91 (patch) | |
| tree | 11318c3670d1c32c5aa0bf404c22fba3bf63fc53 /.config/rc/init.d/secretsd | |
| parent | 4e34cbf9673aeaba252e01df554a0d204e83c5e2 (diff) | |
| download | dotfiles-master.tar.gz | |
Automated-commit-by: dots Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to '.config/rc/init.d/secretsd')
| -rwxr-xr-x | .config/rc/init.d/secretsd | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.config/rc/init.d/secretsd b/.config/rc/init.d/secretsd new file mode 100755 index 0000000..8c639a9 --- /dev/null +++ b/.config/rc/init.d/secretsd @@ -0,0 +1,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} +} |