Home
last modified time | relevance | path

Searched refs:restart (Results 1 – 25 of 71) sorted by relevance

123

/systemd-251/src/rpm/
Dsystemd-update-helper.in41 mark-restart-system-units)
45 systemctl set-property "$unit" Markers=+needs-restart &
50 mark-restart-user-units)
57 systemctl --user -M "$user@" set-property "$unit" Markers=+needs-restart &
63 system-reload-restart|system-reload|system-restart)
75 if [[ "$command" =~ restart ]]; then
76 systemctl reload-or-restart --marked
80 user-reload-restart|user-reload|user-restart|user-reexec)
106 if [[ "$command" =~ restart ]]; then
109 systemctl --user -M "$user@" reload-or-restart --marked &
Dtriggers.systemd.sh.in17 {{SYSTEMD_UPDATE_HELPER_PATH}} system-reload-restart || :
20 {{SYSTEMD_UPDATE_HELPER_PATH}} user-reload-restart || :
35 # We restart remaining system services that should be restarted here.
36 {{SYSTEMD_UPDATE_HELPER_PATH}} system-restart || :
39 # We restart remaining user services that should be restarted here.
40 {{SYSTEMD_UPDATE_HELPER_PATH}} user-restart || :
Dtriggers.systemd.in18 assert(posix.exec("{{SYSTEMD_UPDATE_HELPER_PATH}}", "system-reload-restart"))
26 assert(posix.exec("{{SYSTEMD_UPDATE_HELPER_PATH}}", "user-reload-restart"))
54 -- We restart remaining system services that should be restarted here.
57 assert(posix.exec("{{SYSTEMD_UPDATE_HELPER_PATH}}", "system-restart"))
63 -- We restart remaining user services that should be restarted here.
66 assert(posix.exec("{{SYSTEMD_UPDATE_HELPER_PATH}}", "user-restart"))
Dmacros.systemd.in91 {{SYSTEMD_UPDATE_HELPER_PATH}} mark-restart-system-units %{?*} || : \
99 {{SYSTEMD_UPDATE_HELPER_PATH}} mark-restart-user-units %{?*} || : \
/systemd-251/test/units/
Dtestsuite-11.sh6 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
Dtestsuite-59.sh43 cat >/run/systemd/system/testservice-fail-restart-59.service <<EOF
55 cat >/run/systemd/system/testservice-abort-restart-59.service <<EOF
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
Dtestsuite-17.03.sh20 systemctl restart systemd-udevd.service
34 systemctl restart systemd-udevd.service
Dtestsuite-03.sh43 systemctl try-restart --job-mode=fail hello.service
44 systemctl try-restart hello.service
Dtestsuite-04.sh19 systemctl restart systemd-journald
128 systemctl restart systemd-journald
Dtestsuite-37.sh13 systemctl restart tmp-aaa.mount
Dtestsuite-12.sh44 systemctl restart test12.socket
Dtestsuite-17.06.sh22 systemctl restart systemd-udevd.service
Dtestsuite-48.sh80 systemctl restart testservice-48.target
Dtestsuite-23.sh28 systemctl restart seven.service
Dtestsuite-55.sh44 systemctl restart systemd-oomd.service
Dtestsuite-38.sh154 systemctl restart "${unit}"
/systemd-251/shell-completion/zsh/
D_systemctl.in16 "restart:Start or restart one or more units"
18 "try-restart:Restart one or more units if active"
19 "reload-or-restart:Reload one or more units if possible, otherwise start or restart"
20 "force-reload:Reload one or more units if possible, otherwise restart if active"
21 "try-reload-or-restart:Reload one or more units if possible, otherwise restart if active"
126 condrestart) cmd="try-restart";;
127 force-reload) cmd="try-reload-or-restart";;
292 for fun in stop kill try-restart condrestart ; do
312 for fun in reload try-reload-or-restart force-reload ; do
323 for fun in restart reload-or-restart ; do
/systemd-251/test/testsuite-11.units/
Dfail-on-restart.service3 Description=Fail on restart
/systemd-251/shell-completion/bash/
Dsystemctl.in205 [STOPPABLE_UNITS]='stop condstop kill try-restart condrestart'
207 [RELOADABLE_UNITS]='reload condreload try-reload-or-restart force-reload'
208 [RESTARTABLE_UNITS]='restart reload-or-restart'
/systemd-251/src/network/
Dnetworkd-dhcp6.c709 bool restart; in dhcp6_update_mac() local
717 restart = sd_dhcp6_client_is_running(link->dhcp6_client) > 0; in dhcp6_update_mac()
719 if (restart) { in dhcp6_update_mac()
729 if (restart) { in dhcp6_update_mac()
Dnetworkd-radv.c513 bool restart; in radv_update_mac() local
521 restart = sd_radv_is_running(link->radv); in radv_update_mac()
531 if (restart) { in radv_update_mac()
/systemd-251/src/core/
Dservice.h108 ServiceRestart restart; member
Ddbus-service.c197 …SD_BUS_PROPERTY("Restart", "s", property_get_restart, offsetof(Service, restart), SD_BUS_VTABLE_PR…
511 … return bus_set_transient_service_restart(u, name, &s->restart, message, flags, error); in bus_service_set_transient_property()
/systemd-251/src/shared/
Dinstall.c581 bool *restart, in remove_marked_symlinks_fd() argument
593 assert(restart); in remove_marked_symlinks_fd()
626 …marked_symlinks_fd(remove_symlinks_to, nfd, p, config_path, lp, dry_run, restart, changes, n_chang… in remove_marked_symlinks_fd()
704 *restart = true; in remove_marked_symlinks_fd()
719 bool restart; in remove_marked_symlinks() local
734 restart = false; in remove_marked_symlinks()
741 …inks_fd(remove_symlinks_to, cfd, config_path, config_path, lp, dry_run, &restart, changes, n_chang… in remove_marked_symlinks()
744 } while (restart); in remove_marked_symlinks()
/systemd-251/src/timesync/
Dtimesyncd-manager.c827 bool restart = true; in manager_connect() local
843 restart = false; in manager_connect()
860 if (restart && !m->exhausted_servers && m->poll_interval_usec > 0) { in manager_connect()

123