From 95a87d5112414cda2bd2a9704db2c176c4be69f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Fri, 29 Oct 2021 17:44:58 +0200 Subject: [PATCH] Always restart services --- autostart/services/blueman.service | 1 + autostart/services/dpms.service | 1 + autostart/services/dunst.service | 1 + autostart/services/element.service | 1 + autostart/services/firefox@.service | 1 + autostart/services/gnome-keyring.service | 1 + autostart/services/gpg-agent.service | 1 + autostart/services/keepassx.service | 1 + autostart/services/nextcloud.service | 1 + autostart/services/nm-applet.service | 1 + autostart/services/pasystray.service | 1 + autostart/services/redshift.service | 1 + autostart/services/spotify.service | 1 + autostart/services/steam.service | 1 + autostart/services/yubikey-touch-detector.service | 1 + 15 files changed, 15 insertions(+) diff --git a/autostart/services/blueman.service b/autostart/services/blueman.service index ba23e1a..fc404e0 100644 --- a/autostart/services/blueman.service +++ b/autostart/services/blueman.service @@ -5,3 +5,4 @@ After=windowmanager.target [Service] ExecStart=/usr/bin/env blueman-applet PassEnvironment=DISPLAY +Restart=always diff --git a/autostart/services/dpms.service b/autostart/services/dpms.service index e0aa869..93af783 100644 --- a/autostart/services/dpms.service +++ b/autostart/services/dpms.service @@ -7,3 +7,4 @@ Type=oneshot ExecStart=/usr/bin/env xset s off ExecStart=/usr/bin/env xset dpms 0 0 300 PassEnvironment=DISPLAY +Restart=always diff --git a/autostart/services/dunst.service b/autostart/services/dunst.service index 7834836..64f420b 100644 --- a/autostart/services/dunst.service +++ b/autostart/services/dunst.service @@ -5,3 +5,4 @@ After=windowmanager.target [Service] ExecStart=/usr/bin/env dunst -config %h/.config/dunstrc PassEnvironment=DISPLAY +Restart=always diff --git a/autostart/services/element.service b/autostart/services/element.service index 6a1cd78..9bc85de 100644 --- a/autostart/services/element.service +++ b/autostart/services/element.service @@ -8,3 +8,4 @@ ConditionPathExists=%h/.var/run/features/element [Service] ExecStart=/usr/bin/env element-desktop PassEnvironment=DISPLAY +Restart=always diff --git a/autostart/services/firefox@.service b/autostart/services/firefox@.service index 6e63ceb..48c07bc 100644 --- a/autostart/services/firefox@.service +++ b/autostart/services/firefox@.service @@ -5,3 +5,4 @@ After=windowmanager.target [Service] ExecStart=/usr/bin/env firefox --setDefaultBrowser -P %i PassEnvironment=DISPLAY +Restart=always diff --git a/autostart/services/gnome-keyring.service b/autostart/services/gnome-keyring.service index ccad6ce..eb2168e 100644 --- a/autostart/services/gnome-keyring.service +++ b/autostart/services/gnome-keyring.service @@ -5,3 +5,4 @@ After=windowmanager.target [Service] ExecStart=/usr/bin/env gnome-keyring-daemon --start --foreground --components secrets PassEnvironment=DISPLAY +Restart=always diff --git a/autostart/services/gpg-agent.service b/autostart/services/gpg-agent.service index 802e190..7423f02 100644 --- a/autostart/services/gpg-agent.service +++ b/autostart/services/gpg-agent.service @@ -7,3 +7,4 @@ ConditionPathExists=%h/.var/run/features/gpg_agent Type=forking ExecStart=/usr/bin/env gpg-agent --homedir %h/.gnupg --no-detach --daemon PassEnvironment=DISPLAY +Restart=always diff --git a/autostart/services/keepassx.service b/autostart/services/keepassx.service index 95a1da3..37af746 100644 --- a/autostart/services/keepassx.service +++ b/autostart/services/keepassx.service @@ -6,3 +6,4 @@ ConditionPathExists=%h/.var/run/features/keepassx [Service] ExecStart=/usr/bin/env keepassx --keyfile %h/.secret/main.key %h/.secret/main.kdbx PassEnvironment=DISPLAY +Restart=always diff --git a/autostart/services/nextcloud.service b/autostart/services/nextcloud.service index 0241a6b..4d88ebd 100644 --- a/autostart/services/nextcloud.service +++ b/autostart/services/nextcloud.service @@ -8,6 +8,7 @@ ConditionPathExists=%h/.var/run/features/nextcloud [Service] ExecStart=/usr/bin/env nextcloud --background PassEnvironment=DISPLAY +Restart=always MemoryHigh=20% MemoryMax=30% diff --git a/autostart/services/nm-applet.service b/autostart/services/nm-applet.service index dd93d28..3713aa9 100644 --- a/autostart/services/nm-applet.service +++ b/autostart/services/nm-applet.service @@ -5,3 +5,4 @@ After=windowmanager.target [Service] ExecStart=/usr/bin/env nm-applet PassEnvironment=DISPLAY +Restart=always diff --git a/autostart/services/pasystray.service b/autostart/services/pasystray.service index 45e3946..33fb0a5 100644 --- a/autostart/services/pasystray.service +++ b/autostart/services/pasystray.service @@ -5,3 +5,4 @@ After=windowmanager.target [Service] ExecStart=/usr/bin/env pasystray PassEnvironment=DISPLAY +Restart=always diff --git a/autostart/services/redshift.service b/autostart/services/redshift.service index 100c7c4..cf6aa9f 100644 --- a/autostart/services/redshift.service +++ b/autostart/services/redshift.service @@ -5,3 +5,4 @@ After=windowmanager.target [Service] ExecStart=/usr/bin/env redshift-gtk -c %h/.config/redshift.conf PassEnvironment=DISPLAY +Restart=always diff --git a/autostart/services/spotify.service b/autostart/services/spotify.service index e25c808..82e7ced 100644 --- a/autostart/services/spotify.service +++ b/autostart/services/spotify.service @@ -5,3 +5,4 @@ After=windowmanager.target [Service] ExecStart=/usr/bin/env spotify PassEnvironment=DISPLAY +Restart=always diff --git a/autostart/services/steam.service b/autostart/services/steam.service index 5743d25..dff023f 100644 --- a/autostart/services/steam.service +++ b/autostart/services/steam.service @@ -8,3 +8,4 @@ ConditionPathExists=%h/.var/run/features/steam [Service] ExecStart=/usr/bin/env steam PassEnvironment=DISPLAY +Restart=always diff --git a/autostart/services/yubikey-touch-detector.service b/autostart/services/yubikey-touch-detector.service index 78cad22..429823b 100644 --- a/autostart/services/yubikey-touch-detector.service +++ b/autostart/services/yubikey-touch-detector.service @@ -5,3 +5,4 @@ After=windowmanager.target [Service] ExecStart=/usr/bin/env yubikey-touch-detector -libnotify PassEnvironment=DISPLAY +Restart=always