From d4f71cae427dc598a269c880a2184e69566a85e4 Mon Sep 17 00:00:00 2001 From: vikingowl Date: Thu, 26 Mar 2026 12:59:49 +0100 Subject: [PATCH] feat: add systemd user service and socket units for owlry-core Add owlry-core.service (Type=simple, restart-on-failure) and owlry-core.socket (listening on $XDG_RUNTIME_DIR/owlry/owlry.sock) for socket-activated daemon deployment. --- systemd/owlry-core.service | 14 ++++++++++++++ systemd/owlry-core.socket | 9 +++++++++ 2 files changed, 23 insertions(+) create mode 100644 systemd/owlry-core.service create mode 100644 systemd/owlry-core.socket diff --git a/systemd/owlry-core.service b/systemd/owlry-core.service new file mode 100644 index 0000000..ce240de --- /dev/null +++ b/systemd/owlry-core.service @@ -0,0 +1,14 @@ +[Unit] +Description=Owlry application launcher daemon +Documentation=https://somegit.dev/Owlibou/owlry +After=graphical-session.target + +[Service] +Type=simple +ExecStart=/usr/bin/owlry-core +Restart=on-failure +RestartSec=3 +Environment=RUST_LOG=warn + +[Install] +WantedBy=default.target diff --git a/systemd/owlry-core.socket b/systemd/owlry-core.socket new file mode 100644 index 0000000..01ebf53 --- /dev/null +++ b/systemd/owlry-core.socket @@ -0,0 +1,9 @@ +[Unit] +Description=Owlry launcher socket + +[Socket] +ListenStream=%t/owlry/owlry.sock +DirectoryMode=0700 + +[Install] +WantedBy=sockets.target