Use XDG_RUNTIME_DIR instead of ~/.var/run
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
[Unit]
|
||||
BindsTo=autostart.target
|
||||
After=windowmanager.target
|
||||
ConditionPathExists=%h/.var/run/features/gpg_agent
|
||||
ConditionPathExists=%t/features/gpg_agent
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[Unit]
|
||||
BindsTo=autostart.target
|
||||
After=windowmanager.target
|
||||
ConditionPathExists=%h/.var/run/features/keepassx
|
||||
ConditionPathExists=%t/features/keepassx
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/env keepassx --keyfile %h/.secret/main.key %h/.secret/main.kdbx
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[Unit]
|
||||
BindsTo=autostart.target
|
||||
After=windowmanager.target
|
||||
ConditionPathExists=%h/.var/run/features/machine_is_laptop
|
||||
ConditionPathExists=%t/features/machine_is_laptop
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
||||
@@ -3,7 +3,7 @@ BindsTo=autostart.target
|
||||
After=windowmanager.target
|
||||
After=gnome-keyring.service
|
||||
|
||||
ConditionPathExists=%h/.var/run/features/nextcloud
|
||||
ConditionPathExists=%t/features/nextcloud
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/env nextcloud --background
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[Unit]
|
||||
ConditionPathExists=%h/.var/run/features/restic_backup
|
||||
ConditionPathExists=%t/features/restic_backup
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
||||
@@ -3,7 +3,7 @@ BindsTo=autostart.target
|
||||
After=windowmanager.target
|
||||
After=i3.service
|
||||
|
||||
ConditionPathExists=%h/.var/run/features/steam
|
||||
ConditionPathExists=%t/features/steam
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/env steam
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[Unit]
|
||||
BindsTo=autostart.target
|
||||
After=windowmanager.target
|
||||
ConditionPathExists=%h/.var/run/features/machine_is_laptop
|
||||
ConditionPathExists=%t/features/machine_is_laptop
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
||||
Reference in New Issue
Block a user