Lines Matching refs:systemctl

8 systemctl=${1:-systemctl}
16 root=$(mktemp -d --tmpdir systemctl-test.XXXXXX)
24 ( ! "$systemctl" --root="$root" enable test1.service )
34 "$systemctl" --root="$root" enable test1.service
38 "$systemctl" --root="$root" reenable test1.service
42 "$systemctl" --root="$root" disable test1.service
55 "$systemctl" --root="$root" enable test1.service
59 "$systemctl" --root="$root" reenable test1.service
63 "$systemctl" --root="$root" disable test1.service
68 "$systemctl" --root="$root" enable test1
72 "$systemctl" --root="$root" reenable test1
76 "$systemctl" --root="$root" disable test1
90 ( ! "$systemctl" --root="$root" enable test1 )
101 ( ! "$systemctl" --root="$root" reenable test1 )
110 "$systemctl" --root="$root" disable test1
123 "$systemctl" --root="$root" enable test1a.service
126 "$systemctl" --root="$root" disable test1a.service
142 "$systemctl" --root="$root" reenable test2.service
146 "$systemctl" --root="$root" reenable test2.socket
150 "$systemctl" --root="$root" disable test2.socket
158 ( ! "$systemctl" --root="$root" link '/link1.path' )
166 "$systemctl" --root="$root" link '/link1.path'
170 SYSTEMD_LOG_LEVEL=debug "$systemctl" --root="$root" link '/link1.path' # this passes
176 ( ! "$systemctl" --root="$root" link '/subdir/link1.path' )
181 ( ! "$systemctl" --root="$root" link '/subdir/link1.suffix' )
185 "$systemctl" --root="$root" disable 'link1.path'
189 "$systemctl" --root="$root" link '/link1.path'
191 "$systemctl" --root="$root" disable '/link1.path'
195 "$systemctl" --root="$root" link '/link1.path'
197 "$systemctl" --root="$root" disable '/subdir/link1.path' # we only care about the name
202 "$systemctl" --root="$root" enable '/link1.path'
207 "$systemctl" --root="$root" enable '/link1.path'
212 ( ! "$systemctl" --root="$root" enable '/subdir/link1.path' )
218 ( ! "$systemctl" --root="$root" enable '/subdir/link1.suffix' )
223 "$systemctl" --root="$root" disable 'link1.path'
228 "$systemctl" --root="$root" enable '/link1.path'
231 "$systemctl" --root="$root" disable '/link1.path'
237 "$systemctl" --root="$root" link '/link1.path'
241 "$systemctl" --root="$root" enable 'link1.path'
245 "$systemctl" --root="$root" reenable 'link1.path'
258 SYSTEMD_LOG_LEVEL=debug SYSTEMD_LOG_LOCATION=1 "$systemctl" --root="$root" enable 'link3.service'
262 SYSTEMD_LOG_LEVEL=debug SYSTEMD_LOG_LOCATION=1 "$systemctl" --root="$root" disable 'link3.service'
268 ( ! "$systemctl" --root="$root" enable 'masked.service' )
269 ( ! "$systemctl" --root="$root" enable '/etc/systemd/system/masked.service' )
274 ( ! "$systemctl" --root="$root" enable 'masked-alias.service' )
275 ( ! "$systemctl" --root="$root" enable '/etc/systemd/system/masked-alias.service' )
290 ( ! "$systemctl" --root="$root" enable 'link5.service' )
294 "$systemctl" --root="$root" enable 'link5-also.service'
305 ( ! "$systemctl" --root="$root" enable 'templ1@.service' )
308 "$systemctl" --root="$root" enable 'templ1@one.service'
312 "$systemctl" --root="$root" enable 'templ1@two.service'
317 "$systemctl" --root="$root" disable 'templ1@one.service'
322 "$systemctl" --root="$root" disable 'templ1@two.service'
336 "$systemctl" --root="$root" enable 'templ1@.service'
341 "$systemctl" --root="$root" enable 'templ1@one.service'
348 "$systemctl" --root="$root" enable 'templ1@two.service'
357 "$systemctl" --root="$root" disable 'templ1@one.service'
367 "$systemctl" --root="$root" disable 'templ1@.service'
387 "$systemctl" --root="$root" disable 'templ1@.service'
402 "$systemctl" --root="$root" enable 'templ2@.service'
405 "$systemctl" --root="$root" enable 'templ2@two.service'
409 "$systemctl" --root="$root" disable 'templ2@other.service'
413 "$systemctl" --root="$root" disable 'templ2@two.service'
417 "$systemctl" --root="$root" disable 'templ2@.service'
432 ( ! "$systemctl" --root="$root" enable 'link4.service' )
439 "$systemctl" --root="$root" disable 'link4.service'
454 "$systemctl" --root="$root" enable '/etc/systemd/system/link4.service'
459 "$systemctl" --root="$root" disable '/etc/systemd/system/link4.service'
473 "$systemctl" --root="$root" enable 'link5.service'
478 "$systemctl" --root="$root" disable 'link5.service'
493 "$systemctl" --root="$root" link '/link5copy.service'
502 "$systemctl" --root="$root" disable 'link5copy.service'
507 "$systemctl" --root="$root" enable '/link5copy.service'
512 "$systemctl" --root="$root" disable 'link5copy.service'
527 "$systemctl" --root="$root" enable 'link5@.path'
534 "$systemctl" --root="$root" disable 'link5@.path'
554 "$systemctl" --root="$root" disable 'multilink.mount'
570 SYSTEMD_LOG_LEVEL=debug "$systemctl" --root="$root" enable 'some-some-link6@.socket' || return 1
676 "$systemctl" --root="$root" enable 'some-some-link7.socket'
682 "$systemctl" --root="$root" disable 'some-some-link7.socket'