1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-23 17:34:00 +03:00

test-execute/exec-specifier.service: fix quoting

The lines would cause the whole service to fail to be loaded.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2018-04-12 16:16:19 +02:00
parent edb3ca0d61
commit c0af656c52
2 changed files with 4 additions and 4 deletions

View File

@ -16,8 +16,8 @@ ExecStart=/usr/bin/test %C = /var/cache
ExecStart=/usr/bin/test %L = /var/log
ExecStart=/bin/sh -c 'test %u = $$(id -un 0)'
ExecStart=/usr/bin/test %U = 0
ExecStart=/bin/sh -c 'test %h = $$(getent passwd 0 | cut -d: -f 6)
ExecStart=/bin/sh -c 'test %s = $$(getent passwd 0 | cut -d: -f 7)
ExecStart=/bin/sh -c 'test %h = $$(getent passwd 0 | cut -d: -f 6)'
ExecStart=/bin/sh -c 'test %s = $$(getent passwd 0 | cut -d: -f 7)'
ExecStart=/bin/sh -c 'test %m = $$(cat /etc/machine-id)'
ExecStart=/bin/sh -c 'test %b = $$(cat /proc/sys/kernel/random/boot_id | sed -e 's/-//g')'
ExecStart=/bin/sh -c 'test %H = $$(hostname)'

View File

@ -16,8 +16,8 @@ ExecStart=/usr/bin/test %C = /var/cache
ExecStart=/usr/bin/test %L = /var/log
ExecStart=/bin/sh -c 'test %u = $$(id -un 0)'
ExecStart=/usr/bin/test %U = 0
ExecStart=/bin/sh -c 'test %h = $$(getent passwd 0 | cut -d: -f 6)
ExecStart=/bin/sh -c 'test %s = $$(getent passwd 0 | cut -d: -f 7)
ExecStart=/bin/sh -c 'test %h = $$(getent passwd 0 | cut -d: -f 6)'
ExecStart=/bin/sh -c 'test %s = $$(getent passwd 0 | cut -d: -f 7)'
ExecStart=/bin/sh -c 'test %m = $$(cat /etc/machine-id)'
ExecStart=/bin/sh -c 'test %b = $$(cat /proc/sys/kernel/random/boot_id | sed -e 's/-//g')'
ExecStart=/bin/sh -c 'test %H = $$(hostname)'