From 5ca60114560f24617d0a82ef230bc11484617800 Mon Sep 17 00:00:00 2001 From: Matt Singleton Date: Sun, 2 Apr 2023 20:16:45 -0500 Subject: each program in a sway package --- .../lxpolkit/.local/share/systemd/user/lxpolkit.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 sway-de/lxpolkit/.local/share/systemd/user/lxpolkit.service (limited to 'sway-de/lxpolkit') diff --git a/sway-de/lxpolkit/.local/share/systemd/user/lxpolkit.service b/sway-de/lxpolkit/.local/share/systemd/user/lxpolkit.service new file mode 100644 index 0000000..98697d7 --- /dev/null +++ b/sway-de/lxpolkit/.local/share/systemd/user/lxpolkit.service @@ -0,0 +1,15 @@ +[Unit] +Description=Simple PolicyKit authentication agent developed for LXDE +PartOf=sway-session.target +After=sway-session.target + +[Service] +Type=simple +ExecStart=/usr/bin/lxpolkit +ExecStop=/bin/kill -2 $MAINPID +Restart=on-failure +RestartSec=1 +TimeoutStopSec=10 + +[Install] +WantedBy=sway-session.target -- cgit v1.2.3