Searched refs:systemctl (Results 1 – 25 of 104) sorted by relevance
12345
/systemd-251/src/systemctl/ |
D | meson.build | 4 'systemctl-add-dependency.c', 5 'systemctl-add-dependency.h', 6 'systemctl-cancel-job.c', 7 'systemctl-cancel-job.h', 8 'systemctl-clean-or-freeze.c', 9 'systemctl-clean-or-freeze.h', 10 'systemctl-compat-halt.c', 11 'systemctl-compat-halt.h', 12 'systemctl-compat-runlevel.c', 13 'systemctl-compat-runlevel.h', [all …]
|
/systemd-251/test/ |
D | test-systemctl-enable.sh | 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 [all …]
|
/systemd-251/test/units/ |
D | testsuite-39.sh | 20 systemctl daemon-reload 21 systemctl start "$SERVICE_NAME" 22 systemctl status "$SERVICE_NAME" 24 systemctl reload "$SERVICE_NAME" && { echo 'unexpected success'; exit 1; } 25 systemctl status "$SERVICE_NAME" 26 systemctl stop "$SERVICE_NAME" 38 systemctl daemon-reload 39 systemctl start "$SERVICE_NAME" 40 systemctl status "$SERVICE_NAME" 42 systemctl reload "$SERVICE_NAME" && { echo 'unexpected success'; exit 1; } [all …]
|
D | testsuite-03.sh | 9 systemctl start --no-block hello-after-sleep.target 11 systemctl list-jobs >/root/list-jobs.txt 13 systemctl list-jobs >/root/list-jobs.txt 20 systemctl start --job-mode=ignore-dependencies hello 27 systemctl list-jobs >/root/list-jobs.txt 30 systemctl stop sleep.service hello-after-sleep.target 33 systemctl is-active systemd-importd && { echo 'unexpected success'; exit 1; } 34 systemctl -T start systemd-importd 35 systemctl is-active systemd-importd 36 systemctl --show-transaction stop systemd-importd [all …]
|
D | testsuite-55.sh | 36 systemctl daemon-reload 40 systemctl enable systemd-oomd.service 43 if systemctl is-active systemd-oomd.service; then 44 systemctl restart systemd-oomd.service 47 systemctl start testsuite-55-testchill.service 48 systemctl start testsuite-55-testbloat.service 66 systemctl status testsuite-55-testchill.service 72 if ! systemctl status testsuite-55-testbloat.service; then 79 if systemctl status testsuite-55-testbloat.service; then exit 42; fi 80 if ! systemctl status testsuite-55-testchill.service; then exit 24; fi [all …]
|
D | testsuite-38.sh | 13 systemctl daemon-reload 14 systemctl start "${unit}" 148 systemctl start "${unit}" 153 pid_before=$(systemctl show -p MainPID "${unit}" --value) 154 systemctl restart "${unit}" 155 pid_after=$(systemctl show -p MainPID "${unit}" --value) 162 timeout 5s systemctl stop "${unit}" 171 systemctl start "$unit" 174 systemctl freeze "$unit" 178 timeout 3s systemctl freeze "$unit" [all …]
|
D | testsuite-33.sh | 20 systemctl daemon-reload 28 systemctl start testservice 36 systemctl clean testservice && { echo 'unexpected success'; exit 1; } 38 systemctl stop testservice 46 systemctl clean testservice --what=configuration 54 systemctl clean testservice 62 systemctl clean testservice --what=logs 70 systemctl clean testservice --what=all 91 systemctl daemon-reload 99 systemctl restart testservice [all …]
|
D | testsuite-48.sh | 12 systemctl daemon-reload 14 systemctl start testservice-48.target 32 systemctl start testservice-48.service 34 systemctl is-active testservice-48.service 37 systemctl stop testservice-48.service 39 systemctl daemon-reload 51 systemctl start testservice-48-nonexistent.service || true 53 systemctl start testservice-48.service 55 systemctl is-active testservice-48.service 59 systemctl stop testservice-48.service testservice-48.target [all …]
|
D | testsuite-26.sh | 7 systemctl show-environment | grep -q '^PATH=' 10 systemctl set-environment PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/testaddition FOO=… 13 systemctl show-environment | grep -q '^PATH=.*testaddition$' 14 systemctl show-environment | grep -q '^FOO=BAR$' 16 systemctl daemon-reload 19 systemctl show-environment | grep -q '^PATH=.*testaddition$' 20 systemctl show-environment | grep -q '^FOO=BAR$' 23 systemctl show-environment --output=json | grep -q '^{.*"FOO":"BAR".*}$' 26 systemctl unset-environment FOO PATH 29 systemctl show-environment | grep '^FOO=$' && exit 1 [all …]
|
D | testsuite-63.service | 12 ExecStart=systemctl start test63.path 16 ExecStart=sh -x -c 'test "$(systemctl show test63.service -P ActiveState)" = inactive' 17 ExecStart=sh -x -c 'test "$(systemctl show test63.service -P Result)" = success' 18 ExecStart=sh -x -c 'test "$(systemctl show test63.path -P ActiveState)" = failed' 19 ExecStart=sh -x -c 'test "$(systemctl show test63.path -P Result)" = trigger-limit-hit' 23 ExecStart=systemctl reset-failed 24 ExecStart=systemctl start test63.path 25 ExecStart=systemctl start test63.service 26 ExecStart=sh -x -c 'test "$(systemctl show test63.service -P ActiveState)" = inactive' 27 ExecStart=sh -x -c 'test "$(systemctl show test63.service -P Result)" = success' [all …]
|
D | testsuite-49.sh | 8 systemctl start testsuite-49-namespaced.service 12 systemctl bind --mkdir testsuite-49-namespaced.service /run/testservice-49-fixed /run/inaccessible/… 17 systemctl bind --mkdir testsuite-49-namespaced.service /run/testservice-49-runtime /tmp/testfile_ru… 19 while systemctl show -P SubState testsuite-49-namespaced.service | grep -q running 24 systemctl is-active testsuite-49-namespaced.service 27 systemctl start testsuite-49-non-namespaced.service 30 systemctl bind --mkdir testsuite-49-non-namespaced.service /run/testservice-49-runtime /tmp/testfil… 33 while systemctl show -P SubState testsuite-49-non-namespaced.service | grep -q running 39 systemctl is-active testsuite-49-non-namespaced.service && exit 1
|
D | testsuite-29.sh | 32 systemctl is-active minimal-app0.service 33 systemctl is-active minimal-app0-foo.service 34 systemctl is-active minimal-app0-bar.service && exit 1 38 systemctl is-active minimal-app0.service 39 systemctl is-active minimal-app0-bar.service 40 systemctl is-active minimal-app0-foo.service && exit 1 57 systemctl is-active minimal-app0.service 58 systemctl is-active minimal-app0-foo.service 59 systemctl is-active minimal-app0-bar.service && exit 1 63 systemctl is-active minimal-app0.service [all …]
|
D | testsuite-12.sh | 27 systemctl start test12.socket 28 systemctl is-active test12.socket 33 systemctl daemon-reload 34 systemctl is-active test12.socket 39 systemctl daemon-reload 40 systemctl is-active test12.socket 44 systemctl restart test12.socket 45 systemctl is-active test12.socket
|
D | testsuite-15.sh | 8 systemctl stop "$SERVICE_NAME.service" 2>/dev/null || : 13 systemctl stop "$SERVICE_NAME"*.service 2>/dev/null || : 24 systemctl daemon-reload 80 systemctl start test15-a 81 systemctl stop test15-a 85 systemctl daemon-reload 93 systemctl start test15-a 95 systemctl stop test15-a test15-b 103 systemctl start test15-a 106 systemctl stop test15-a test15-c [all …]
|
D | testsuite-36.sh | 91 systemctl daemon-reload 96 systemctl daemon-reload 103 systemctl daemon-reload 109 systemctl start "${1:?}" 116 systemctl start "${1:?}" 122 systemctl stop "${1:?}" 133 systemctl show -p NUMAPolicy "$UNIT_NAME" >"$LOGFILE" 139 systemctl show -p NUMAMask "$UNIT_NAME" >"$LOGFILE" 156 systemctl daemon-reload 300 systemctl daemon-reload [all …]
|
D | testsuite-17.02.sh | 25 STATE=$(systemctl show --property=ActiveState --value sys-devices-virtual-net-lo.device) 31 STATE=$(systemctl show --property=ActiveState --value sys-devices-virtual-net-lo.device) 37 STATE=$(systemctl show --property=ActiveState --value sys-devices-virtual-net-lo.device) 48 if ! systemctl status sys-devices-virtual-net-hoge.device; then exit 1; fi 49 if ! systemctl status sys-subsystem-net-devices-hoge.device; then exit 1; fi 54 if systemctl status sys-devices-virtual-net-hoge.device; then exit 1; fi 55 if systemctl status sys-subsystem-net-devices-hoge.device; then exit 1; fi 56 if ! systemctl status sys-devices-virtual-net-foobar.device; then exit 1; fi 57 if ! systemctl status sys-subsystem-net-devices-foobar.device; then exit 1; fi
|
D | testsuite-60.sh | 18 systemctl daemon-reload 21 systemctl --no-pager show -p SubState --value "$LONGPATH" | grep -q mounted 27 systemctl stop "$LONGPATH" 40 systemctl daemon-reload 41 systemctl list-units -t mount tmp-meow* | grep -q tmp-meow 81 systemctl daemon-reload 86 if systemctl list-units -t mount tmp-meow* | grep -q tmp-meow; then
|
D | testsuite-17.01.sh | 16 systemctl show -p WantedBy foobar.service | grep -q -v sda 17 systemctl show -p WantedBy waldo.service | grep -q -v sda 34 systemctl show -p WantedBy foobar.service | grep -q sda 35 systemctl show -p WantedBy waldo.service | grep -q -v sda 52 systemctl show -p WantedBy foobar.service | grep -q -v sda 53 systemctl show -p WantedBy waldo.service | grep -q sda 68 systemctl show -p WantedBy foobar.service | grep -q -v sda 69 systemctl show -p WantedBy waldo.service | grep -q -v sda
|
D | testsuite-59.sh | 19 state=$(systemctl show "$service" --property=ActiveState --value) 26 state=$(systemctl show "$service" --property=ActiveState --value) 65 systemctl daemon-reload 70 systemctl start testservice-fail-59.service 76 systemctl start testservice-fail-restart-59.service 83 systemctl start testservice-abort-restart-59.service 84 systemctl --signal=SIGABRT kill testservice-abort-restart-59.service
|
D | testsuite-62.sh | 50 if systemctl --version | grep -q -F -- "-BPF_FRAMEWORK"; then 58 systemctl start --wait testsuite-62-1.service 59 systemctl start --wait testsuite-62-2.service 60 systemctl start --wait testsuite-62-3.service 61 systemctl start --wait testsuite-62-4.service 62 systemctl start --wait testsuite-62-5.service
|
D | testsuite-04.sh | 19 systemctl restart systemd-journald 118 systemctl start silent-success 126 systemctl start forever-print-hola 128 systemctl restart systemd-journald 130 systemctl stop forever-print-hola 135 systemctl start forever-print-hola 137 systemctl kill --signal=SIGKILL systemd-journald
|
D | testsuite-68.sh | 14 state=$(systemctl show "$service" --property=ActiveState --value) 22 state=$(systemctl show "$service" --property=ActiveState --value) 182 systemctl daemon-reload 185 systemctl start testservice-failure-68.service 189 systemctl start testservice-success-68.service 207 systemctl start testservice-success-68-template.service 211 systemctl start testservice-failure-68-template.service
|
D | testsuite-11.sh | 6 systemctl --no-block start fail-on-restart.service 7 active_state=$(systemctl show --value --property ActiveState fail-on-restart.service) 10 active_state=$(systemctl show --value --property ActiveState fail-on-restart.service) 12 systemctl is-failed fail-on-restart.service || exit 1
|
/systemd-251/src/rpm/ |
D | systemd-update-helper.in | 9 command -v systemctl >/dev/null || exit 0 13 systemctl --no-reload preset "$@" 17 systemctl --no-reload preset --global "$@" 22 systemctl --no-reload disable --now "$@" 24 systemctl --no-reload disable "$@" 29 systemctl --global disable "$@" 33 … users=$(systemctl list-units 'user@*' --legend=no | sed -n -r 's/.*user@([0-9]+).service.*/\1/p') 36 systemctl --user -M "$user@" disable --now "$@" & 45 systemctl set-property "$unit" Markers=+needs-restart & 53 … users=$(systemctl list-units 'user@*' --legend=no | sed -n -r 's/.*user@([0-9]+).service.*/\1/p') [all …]
|
/systemd-251/docs/sysvinit/ |
D | README.in | 9 files simply invoke "systemctl", which will output a list of all 10 currently running services (and other units). Use "systemctl 12 stopped, disabled and masked ones. Use "systemctl start 13 foobar.service" and "systemctl stop foobar.service" to start or stop a 15 systemctl(1). 24 man:systemctl(1)
|
12345