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