blob: 2da2bde6f3da99d1a1a271c986510136e61c8490 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
From 6131ee671e0c7275bef7cc308709f37719c492e0 Mon Sep 17 00:00:00 2001
From: ArenM <aren@peacevolution.org>
Date: Wed, 5 Apr 2023 17:42:36 -0400
Subject: [PATCH sxmo-utils 4/6] Fix quoting of strings in service files
Systemd doesn't like these variables without curly braces around them.
---
configs/services/bonsaid.service | 4 ++--
configs/services/sxmo_conky.service | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/configs/services/bonsaid.service b/configs/services/bonsaid.service
index 52c2823..9d56207 100644
--- a/configs/services/bonsaid.service
+++ b/configs/services/bonsaid.service
@@ -5,5 +5,5 @@ PartOf=graphical-session.target
[Service]
Type=simple
Restart=always
-ExecStartPre=rm -f $XDG_RUNTIME_DIR/bonsai
-ExecStart=bonsaid -t $XDG_CONFIG_HOME/sxmo/bonsai_tree.json
+ExecStartPre=rm -f ${XDG_RUNTIME_DIR}/bonsai
+ExecStart=bonsaid -t ${XDG_CONFIG_HOME}/sxmo/bonsai_tree.json
diff --git a/configs/services/sxmo_conky.service b/configs/services/sxmo_conky.service
index a4fca14..774591e 100644
--- a/configs/services/sxmo_conky.service
+++ b/configs/services/sxmo_conky.service
@@ -5,4 +5,4 @@ PartOf=graphical-session.target
[Service]
Type=simple
Restart=always
-ExecStart=conky -c "$XDG_CONFIG_HOME"/sxmo/conky.conf
+ExecStart=conky -c "${XDG_CONFIG_HOME}/sxmo/conky.conf"
--
2.45.0
|