summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-21 02:57:35 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-21 02:57:35 +0200
commitc24eb49e6aecd6de2ad450083e826d4c9d9c75b6 (patch)
tree6833f35a658d6427eb981b320df3c6913e8fc455 /units
parent9d25f5ed7b80df732cf7842985aa9b243bcd2335 (diff)
exec: extend variable substitution to support splitting variable values into seperate arguments
Diffstat (limited to 'units')
-rw-r--r--units/.gitignore1
-rw-r--r--units/emergency.service2
-rw-r--r--units/fedora/single.service2
3 files changed, 3 insertions, 2 deletions
diff --git a/units/.gitignore b/units/.gitignore
index ea85dc081e..5de1b5c7c4 100644
--- a/units/.gitignore
+++ b/units/.gitignore
@@ -6,3 +6,4 @@ graphical.target
multi-user.target
getty@.service
remote-fs.target
+test-env-replace
diff --git a/units/emergency.service b/units/emergency.service
index dd4a0703e2..7a1f81a468 100644
--- a/units/emergency.service
+++ b/units/emergency.service
@@ -22,4 +22,4 @@ KillMode=process-group
# Bash ignores SIGTERM, so we send SIGHUP first, to ensure that bash
# terminates cleanly.
-ExecStop=-/bin/kill -HUP $(MAINPID)
+ExecStop=-/bin/kill -HUP ${MAINPID}
diff --git a/units/fedora/single.service b/units/fedora/single.service
index f4af539f85..93a70cf4b0 100644
--- a/units/fedora/single.service
+++ b/units/fedora/single.service
@@ -25,4 +25,4 @@ KillMode=process-group
# Bash ignores SIGTERM, so we send SIGHUP first, to ensure that bash
# terminates cleanly.
-ExecStop=-/bin/kill -HUP $(MAINPID)
+ExecStop=-/bin/kill -HUP ${MAINPID}