Home
last modified time | relevance | path

Searched refs:target (Results 1 – 25 of 347) sorted by relevance

12345678910>>...14

/systemd-251/units/
Dmeson.build6 ['basic.target', ''],
7 ['blockdev@.target', ''],
8 ['bluetooth.target', ''],
9 ['boot-complete.target', ''],
10 ['cryptsetup-pre.target', 'HAVE_LIBCRYPTSETUP'],
11 ['cryptsetup.target', 'HAVE_LIBCRYPTSETUP',
12 'sysinit.target.wants/'],
13 ['veritysetup-pre.target', 'HAVE_LIBCRYPTSETUP'],
14 ['veritysetup.target', 'HAVE_LIBCRYPTSETUP',
15 'sysinit.target.wants/'],
[all …]
Dinitrd.target13 OnFailure=emergency.target
16 Requires=basic.target
17 Wants=initrd-root-fs.target initrd-root-device.target initrd-fs.target initrd-usr-fs.target initrd-…
18 …fter=initrd-root-fs.target initrd-root-device.target initrd-fs.target initrd-usr-fs.target basic.t…
Dbasic.target13 Requires=sysinit.target
14 Wants=sockets.target timers.target paths.target slices.target
15 After=sysinit.target sockets.target paths.target slices.target tmp.mount
18 # remote-fs.target by default, hence pull them in explicitly here. Note that we
Dsystemd-update-utmp-runlevel.service.in15 Conflicts=shutdown.target
18 After=runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target
19 Before=shutdown.target
Dsystemd-boot-check-no-failures.service.in13 After=default.target graphical.target multi-user.target
14 Before=boot-complete.target
15 Conflicts=shutdown.target
16 Before=shutdown.target
24 RequiredBy=boot-complete.target
Dsystemd-networkd.service.in16 After=systemd-networkd.socket systemd-udevd.service network-pre.target systemd-sysusers.service sys…
17 Before=network.target multi-user.target shutdown.target
18 Conflicts=shutdown.target
19 Wants=systemd-networkd.socket network.target
55 WantedBy=multi-user.target
65 # WantedBy=network-online.target, so enabling it only has an effect if
66 # network-online.target itself is enabled or pulled in by some other unit.
Dserial-getty@.service.in15 After=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service getty-pre.target
21 # sure that this is synchronized before getty.target, even though
22 # getty.target didn't actually pull it in.
23 Before=getty.target
27 # rescue.target or starts rescue.service from multi-user.target or
28 # graphical.target.
52 WantedBy=getty.target
/systemd-251/src/test/
Dtest-strxcpyx.c11 char target[25]; in TEST() local
12 char *s = target; in TEST()
16 space_left = sizeof(target); in TEST()
28 assert_se(streq(target, "12345hey hey heywaldobar")); in TEST()
33 assert_se(streq(target, "12345hey hey heywaldobar")); in TEST()
38 assert_se(streq(target, "12345hey hey heywaldobar")); in TEST()
43 assert_se(streq(target, "12345hey hey heywaldobar")); in TEST()
48 assert_se(streq(target, "12345hey hey heywaldobar")); in TEST()
52 char target[25]; in TEST() local
53 char *s = target; in TEST()
[all …]
/systemd-251/src/sysupdate/
Dsysupdate-transfer.c50 resource_destroy(&t->target); in transfer_free()
64 .target.type = _RESOURCE_TYPE_INVALID, in transfer_new()
435 …t", "Type", config_parse_resource_type, 0, &t->target.type }, in transfer_read_definition()
436 …t", "Path", config_parse_resource_path, 0, &t->target }, in transfer_read_definition()
437 …t", "MatchPattern", config_parse_resource_pattern, 0, &t->target.patterns }, in transfer_read_definition()
438 …t", "MatchPartitionType", config_parse_resource_ptype, 0, &t->target }, in transfer_read_definition()
468 if (t->target.type < 0) { in transfer_read_definition()
473 t->target.type = in transfer_read_definition()
474 t->target.path && path_startswith(t->target.path, "/dev/") ? in transfer_read_definition()
481 t->target.type = RESOURCE_DIRECTORY; in transfer_read_definition()
[all …]
/systemd-251/units/user/
Dmeson.build6 'basic.target',
7 'bluetooth.target',
8 'default.target',
9 'exit.target',
10 'graphical-session-pre.target',
11 'graphical-session.target',
12 'paths.target',
13 'printer.target',
15 'shutdown.target',
16 'smartcard.target',
[all …]
Dbasic.target13 Wants=sockets.target timers.target paths.target
14 After=sockets.target timers.target paths.target
/systemd-251/src/resolve/
Dtest-dns-packet.c95 _cleanup_free_ char *target = NULL; in test_dns_resource_record_get_cname_target() local
100 …me_target(&DNS_RESOURCE_KEY_CONST(DNS_CLASS_IN, DNS_TYPE_A, "waldo"), cname, &target) == -EUNATCH); in test_dns_resource_record_get_cname_target()
101 …e_target(&DNS_RESOURCE_KEY_CONST(DNS_CLASS_IN, DNS_TYPE_A, "foobar"), cname, &target) == -EUNATCH); in test_dns_resource_record_get_cname_target()
102 …ame_target(&DNS_RESOURCE_KEY_CONST(DNS_CLASS_IN, DNS_TYPE_A, "quux"), cname, &target) == -EUNATCH); in test_dns_resource_record_get_cname_target()
103 …t_cname_target(&DNS_RESOURCE_KEY_CONST(DNS_CLASS_IN, DNS_TYPE_A, ""), cname, &target) == -EUNATCH); in test_dns_resource_record_get_cname_target()
104 …_cname_target(&DNS_RESOURCE_KEY_CONST(DNS_CLASS_IN, DNS_TYPE_A, "."), cname, &target) == -EUNATCH); in test_dns_resource_record_get_cname_target()
105 …DNS_RESOURCE_KEY_CONST(DNS_CLASS_IN, DNS_TYPE_A, "nope.quux.foobar"), cname, &target) == -EUNATCH); in test_dns_resource_record_get_cname_target()
106 …ame_target(&DNS_RESOURCE_KEY_CONST(DNS_CLASS_IN, DNS_TYPE_A, "quux.foobar"), cname, &target) == 0); in test_dns_resource_record_get_cname_target()
107 assert_se(streq(target, "wuff.wuff")); in test_dns_resource_record_get_cname_target()
108 target = mfree(target); in test_dns_resource_record_get_cname_target()
[all …]
/systemd-251/test/test-path/
Dbasic.target6 Requires=sysinit.target
7 Wants=sockets.target timers.target paths.target slices.target
8 After=sysinit.target sockets.target paths.target slices.target tmp.mount
11 # remote-fs.target by default, hence pull them in explicitly here. Note that we
Dsysinit.target6 Conflicts=emergency.service emergency.target
7 Wants=local-fs.target swap.target
8 After=local-fs.target swap.target emergency.service emergency.target
/systemd-251/test/units/
Dbasic.target13 Requires=sysinit.target
14 Wants=sockets.target timers.target paths.target slices.target
15 After=sysinit.target sockets.target paths.target slices.target tmp.mount
18 # remote-fs.target by default, hence pull them in explicitly here. Note that we
Dtestsuite-48.sh7 cat >/run/systemd/system/testservice-48.target <<EOF
14 systemctl start testservice-48.target
59 systemctl stop testservice-48.service testservice-48.target
60 rm -f /run/systemd/system/testservice-48.service /run/systemd/system/testservice-48.target
65 cat >/run/systemd/system/testservice-48.target <<EOF
67 Conflicts=shutdown.target
73 systemctl start testservice-48.target
80 systemctl restart testservice-48.target
Dautorelabel.service5 Requires=local-fs.target
6 Conflicts=shutdown.target
7 After=local-fs.target
8 Before=sysinit.target shutdown.target
19 WantedBy=basic.target
Dsysinit.target13 Conflicts=emergency.service emergency.target
14 Wants=local-fs.target swap.target
15 After=local-fs.target swap.target emergency.service emergency.target
/systemd-251/test/
Dtest-systemctl-enable.sh30 WantedBy=default.target
31 RequiredBy=special.target
84 Alias=test1-badalias.target
132 WantedBy=sockets.target
138 WantedBy=default.target
163 WantedBy=paths.target
252 WantedBy=services.target
281 WantedBy=services.target
286 WantedBy=services.target
301 WantedBy=services.target
[all …]
/systemd-251/src/basic/
Dtmpfile-util.c243 int open_tmpfile_linkable(const char *target, int flags, char **ret_path) { in open_tmpfile_linkable() argument
247 assert(target); in open_tmpfile_linkable()
257 fd = open_parent(target, O_TMPFILE|flags, 0640); in open_tmpfile_linkable()
263 log_debug_errno(fd, "Failed to use O_TMPFILE for %s: %m", target); in open_tmpfile_linkable()
265 r = tempfn_random(target, NULL, &tmp); in open_tmpfile_linkable()
278 int fopen_tmpfile_linkable(const char *target, int flags, char **ret_path, FILE **ret_file) { in fopen_tmpfile_linkable() argument
283 assert(target); in fopen_tmpfile_linkable()
287 fd = open_tmpfile_linkable(target, flags, &path); in fopen_tmpfile_linkable()
300 int link_tmpfile(int fd, const char *path, const char *target) { in link_tmpfile() argument
302 assert(target); in link_tmpfile()
[all …]
/systemd-251/docs/
DNETWORK_ONLINE.md10 systemd provides three target units related to network configuration:
12 ## Network pre-configuration: `network-pre.target`
14 `network-pre.target` is used to order services before any network interfaces
18 `network-pre.target` is a passive unit: it cannot be started directly and it is
21 should set `After=network-pre.target`, but not `Wants=network-pre.target` or
22 `Requires=network-pre.target`. Services that want to be run before the network
23 is configured should use `Before=network-pre.target` and
24 `Wants=network-pre.target`. This way, unless there's actually a service that
25 needs to be ordered before the network is up, this target is not pulled in,
28 ## Network management services: `network.target`
[all …]
/systemd-251/presets/
D90-systemd.preset14 enable remote-fs.target
15 enable remote-cryptsetup.target
16 enable machines.target
31 disable halt.target
32 disable kexec.target
33 disable poweroff.target
34 enable reboot.target
35 disable rescue.target
36 disable exit.target
/systemd-251/src/debug-generator/
Ddebug-generator.c81 const char *target; in parse_proc_cmdline_item() local
83 target = runlevel_to_target(key); in parse_proc_cmdline_item()
84 if (target) in parse_proc_cmdline_item()
85 return free_and_strdup_warn(&arg_default_unit, target); in parse_proc_cmdline_item()
121 const char *target; in generate_wants_symlinks() local
125 target = arg_default_unit; in generate_wants_symlinks()
127 target = SPECIAL_INITRD_TARGET; in generate_wants_symlinks()
129 target = SPECIAL_DEFAULT_TARGET; in generate_wants_symlinks()
131 p = strjoin(arg_dest, "/", target, ".wants/", *u); in generate_wants_symlinks()
/systemd-251/rules.d/
D99-systemd.rules.in48 ENV{SYSTEMD_WANTS}+="bluetooth.target", ENV{SYSTEMD_USER_WANTS}+="bluetooth.target"
50 …*", TAG+="systemd", ENV{SYSTEMD_WANTS}+="smartcard.target", ENV{SYSTEMD_USER_WANTS}+="smartcard.ta…
51 …ntrolC*", TAG+="systemd", ENV{SYSTEMD_WANTS}+="sound.target", ENV{SYSTEMD_USER_WANTS}+="sound.targ…
53 …nter", TAG+="systemd", ENV{SYSTEMD_WANTS}+="printer.target", ENV{SYSTEMD_USER_WANTS}+="printer.tar…
54 …"lp*", TAG+="systemd", ENV{SYSTEMD_WANTS}+="printer.target", ENV{SYSTEMD_USER_WANTS}+="printer.tar…
55 …??:*", TAG+="systemd", ENV{SYSTEMD_WANTS}+="printer.target", ENV{SYSTEMD_USER_WANTS}+="printer.tar…
57 SUBSYSTEM=="udc", ACTION=="add", TAG+="systemd", ENV{SYSTEMD_WANTS}+="usb-gadget.target"
/systemd-251/src/boot/
Dbless-boot.c403 const char *target, *source1, *source2; in verb_set() local
427 target = good; in verb_set()
431 target = bad; in verb_set()
436 target = path; in verb_set()
448 r = rename_noreplace(fd, skip_slash(source1), fd, skip_slash(target)); in verb_set()
453 r = rename_noreplace(fd, skip_slash(source2), fd, skip_slash(target)); in verb_set()
458 …if (faccessat(fd, skip_slash(target), F_OK, 0) >= 0) /* Hmm, if we can't find either source file, … in verb_set()
462 … return log_error_errno(errno, "Failed to determine if %s already exists: %m", target); in verb_set()
467 … return log_error_errno(r, "Failed to rename '%s' to '%s': %m", source2, target); in verb_set()
469 log_debug("Successfully renamed '%s' to '%s'.", source2, target); in verb_set()
[all …]

12345678910>>...14