aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2024-02-16 11:05:41 +0100
committerPatrick Spek <p.spek@tyil.nl>2024-02-16 11:05:41 +0100
commitfb8a828fe912f074d2bd378ac91adcb83034b3eb (patch)
tree7c735ee03ad8becff60f0c4ac79cffdb0113e9d6
parent0e4a841c9eac0dc2fd21272f976e75166691c93e (diff)
Add more systemd services
-rw-r--r--.config/systemd/user/fsvc-evolution.service19
-rw-r--r--.config/systemd/user/fsvc-keepassxc.service17
2 files changed, 36 insertions, 0 deletions
diff --git a/.config/systemd/user/fsvc-evolution.service b/.config/systemd/user/fsvc-evolution.service
new file mode 100644
index 0000000..a1dade0
--- /dev/null
+++ b/.config/systemd/user/fsvc-evolution.service
@@ -0,0 +1,19 @@
+[Unit]
+Description=Manage an x11 application
+PartOf=graphical-session.target
+
+After=fsvc-keepassxc.service
+
+[Service]
+Type=exec
+Restart=on-failure
+
+ExecSearchPath=%h/.local/bin
+ExecSearchPath=/usr/local/bin
+ExecSearchPath=/usr/bin
+WorkingDirectory=%h
+
+ExecStart=evolution
+
+[Install]
+WantedBy=wman.target
diff --git a/.config/systemd/user/fsvc-keepassxc.service b/.config/systemd/user/fsvc-keepassxc.service
new file mode 100644
index 0000000..a634ece
--- /dev/null
+++ b/.config/systemd/user/fsvc-keepassxc.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=Manage an x11 application
+PartOf=graphical-session.target
+
+[Service]
+Type=exec
+Restart=on-failure
+
+ExecSearchPath=%h/.local/bin
+ExecSearchPath=/usr/local/bin
+ExecSearchPath=/usr/bin
+WorkingDirectory=%h
+
+ExecStart=keepassxc
+
+[Install]
+WantedBy=wman.target