mirror of
https://github.com/systemd/systemd
synced 2025-10-04 19:24:44 +02:00
Compare commits
11 Commits
257e941cc1
...
285b3d544f
Author | SHA1 | Date | |
---|---|---|---|
![]() |
285b3d544f | ||
![]() |
d48a071f7a | ||
![]() |
1f92fec2e9 | ||
![]() |
217d5fed0d | ||
![]() |
54a9066f1d | ||
![]() |
04abe03189 | ||
![]() |
580643a47f | ||
![]() |
1cabb6905b | ||
![]() |
be876c5933 | ||
![]() |
9fa08842b7 | ||
![]() |
e43efecc8f |
@ -2575,9 +2575,9 @@ node /org/freedesktop/systemd1/unit/avahi_2ddaemon_2eservice {
|
||||
|
||||
<para><varname>SubState</varname> encodes states of the same state machine that
|
||||
<varname>ActiveState</varname> covers, but knows more fine-grained states that are
|
||||
unit-type-specific. Where <varname>ActiveState</varname> only covers six high-level states,
|
||||
unit-type-specific. Where <varname>ActiveState</varname> only covers eight high-level states,
|
||||
<varname>SubState</varname> covers possibly many more low-level unit-type-specific states that are
|
||||
mapped to the six high-level states. Note that multiple low-level states might map to the same
|
||||
mapped to the eight high-level states. Note that multiple low-level states might map to the same
|
||||
high-level state, but not vice versa. Not all high-level states have low-level counterparts on all unit
|
||||
types. At this point the low-level states are not documented here, and are more likely to be extended
|
||||
later on than the common high-level states explained above.</para>
|
||||
|
37
po/ca.po
37
po/ca.po
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-07-23 15:38+0100\n"
|
||||
"PO-Revision-Date: 2025-05-11 20:05+0000\n"
|
||||
"PO-Revision-Date: 2025-07-28 17:25+0000\n"
|
||||
"Last-Translator: naly zzwd <xeanhort007@gmail.com>\n"
|
||||
"Language-Team: Catalan <https://translate.fedoraproject.org/projects/systemd/"
|
||||
"main/ca/>\n"
|
||||
@ -17,7 +17,7 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 5.11.3\n"
|
||||
"X-Generator: Weblate 5.12.2\n"
|
||||
|
||||
#: src/core/org.freedesktop.systemd1.policy.in:22
|
||||
msgid "Send passphrase back to system"
|
||||
@ -154,15 +154,13 @@ msgstr "Cal autenticació per activar l'àrea d'inici d'un usuari."
|
||||
|
||||
#: src/home/org.freedesktop.home1.policy:93
|
||||
msgid "Manage Home Directory Signing Keys"
|
||||
msgstr ""
|
||||
msgstr "Gestioneu les Claus de Signatura del Directori d'Inici"
|
||||
|
||||
#: src/home/org.freedesktop.home1.policy:94
|
||||
#, fuzzy
|
||||
#| msgid "Authentication is required to manage system services or other units."
|
||||
msgid "Authentication is required to manage signing keys for home directories."
|
||||
msgstr ""
|
||||
"Es requereix autenticació per gestionar els serveis del sistema o bé altres "
|
||||
"unitats."
|
||||
"Es requereix autenticació per gestionar les claus de signatura dels "
|
||||
"directoris d'inici."
|
||||
|
||||
#: src/home/pam_systemd_home.c:336
|
||||
#, c-format
|
||||
@ -928,19 +926,15 @@ msgstr ""
|
||||
"Es requereix autenticació per crear una màquina virtual o contenidor local."
|
||||
|
||||
#: src/machine/org.freedesktop.machine1.policy:106
|
||||
#, fuzzy
|
||||
#| msgid "Create a local virtual machine or container"
|
||||
msgid "Register a local virtual machine or container"
|
||||
msgstr "Crea una màquina virtual o contenidor local"
|
||||
msgstr "Registra una màquina virtual local o contenidor"
|
||||
|
||||
#: src/machine/org.freedesktop.machine1.policy:107
|
||||
#, fuzzy
|
||||
#| msgid ""
|
||||
#| "Authentication is required to create a local virtual machine or container."
|
||||
msgid ""
|
||||
"Authentication is required to register a local virtual machine or container."
|
||||
msgstr ""
|
||||
"Es requereix autenticació per crear una màquina virtual o contenidor local."
|
||||
"Es requereix autenticació per registrar una màquina virtual local o "
|
||||
"contenidor."
|
||||
|
||||
#: src/machine/org.freedesktop.machine1.policy:116
|
||||
msgid "Manage local virtual machine and container images"
|
||||
@ -1174,14 +1168,11 @@ msgstr ""
|
||||
|
||||
#: src/resolve/org.freedesktop.resolve1.policy:154
|
||||
msgid "Subscribe to DNS configuration"
|
||||
msgstr ""
|
||||
msgstr "Subscriu-te a la configuració de DNS"
|
||||
|
||||
#: src/resolve/org.freedesktop.resolve1.policy:155
|
||||
#, fuzzy
|
||||
#| msgid "Authentication is required to subscribe query results."
|
||||
msgid "Authentication is required to subscribe to DNS configuration."
|
||||
msgstr ""
|
||||
"Es requereix autenticació per subscriure's als resultats de la consulta."
|
||||
msgstr "Es requereix autenticació per subscriure's a la configuració de DNS."
|
||||
|
||||
#: src/resolve/org.freedesktop.resolve1.policy:165
|
||||
msgid "Dump cache"
|
||||
@ -1329,16 +1320,12 @@ msgstr ""
|
||||
"'$(unit)'."
|
||||
|
||||
#: src/core/dbus-unit.c:620
|
||||
#, fuzzy
|
||||
#| msgid ""
|
||||
#| "Authentication is required to send a UNIX signal to the processes of "
|
||||
#| "'$(unit)'."
|
||||
msgid ""
|
||||
"Authentication is required to send a UNIX signal to the processes of "
|
||||
"subgroup of '$(unit)'."
|
||||
msgstr ""
|
||||
"Es requereix autenticació per enviar un senyal UNIX als processos de "
|
||||
"'$(unit)'."
|
||||
"Es requereix autenticació per enviar un senyal UNIX als processos del "
|
||||
"subgrup de '$(unit)'."
|
||||
|
||||
#: src/core/dbus-unit.c:648
|
||||
msgid "Authentication is required to reset the \"failed\" state of '$(unit)'."
|
||||
|
36
po/id.po
36
po/id.po
@ -1,12 +1,12 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
# Indonesian translation for systemd.
|
||||
# Andika Triwidada <andika@gmail.com>, 2014, 2021, 2022, 2024.
|
||||
# Andika Triwidada <andika@gmail.com>, 2014, 2021, 2022, 2024, 2025.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-07-23 15:38+0100\n"
|
||||
"PO-Revision-Date: 2024-11-29 12:38+0000\n"
|
||||
"PO-Revision-Date: 2025-07-28 17:25+0000\n"
|
||||
"Last-Translator: Andika Triwidada <andika@gmail.com>\n"
|
||||
"Language-Team: Indonesian <https://translate.fedoraproject.org/projects/"
|
||||
"systemd/main/id/>\n"
|
||||
@ -15,7 +15,7 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
"X-Generator: Weblate 5.8.2\n"
|
||||
"X-Generator: Weblate 5.12.2\n"
|
||||
|
||||
#: src/core/org.freedesktop.systemd1.policy.in:22
|
||||
msgid "Send passphrase back to system"
|
||||
@ -148,14 +148,13 @@ msgstr "Otentikasi diperlukan untuk mengaktifkan suatu area home pengguna."
|
||||
|
||||
#: src/home/org.freedesktop.home1.policy:93
|
||||
msgid "Manage Home Directory Signing Keys"
|
||||
msgstr ""
|
||||
msgstr "Kelola Kunci Penandatanganan Direktori Home"
|
||||
|
||||
#: src/home/org.freedesktop.home1.policy:94
|
||||
#, fuzzy
|
||||
#| msgid "Authentication is required to manage system services or other units."
|
||||
msgid "Authentication is required to manage signing keys for home directories."
|
||||
msgstr ""
|
||||
"Otentikasi diperlukan untuk mengelola layanan sistem atau unit lainnya."
|
||||
"Otentikasi diperlukan untuk mengelola kunci penandatanganan bagi direktori "
|
||||
"home."
|
||||
|
||||
#: src/home/pam_systemd_home.c:336
|
||||
#, c-format
|
||||
@ -882,19 +881,14 @@ msgstr ""
|
||||
"kontainer."
|
||||
|
||||
#: src/machine/org.freedesktop.machine1.policy:106
|
||||
#, fuzzy
|
||||
#| msgid "Create a local virtual machine or container"
|
||||
msgid "Register a local virtual machine or container"
|
||||
msgstr "Membuat suatu mesin virtual lokal atau kontainer"
|
||||
msgstr "Daftarkan suatu mesin virtual lokal atau kontainer"
|
||||
|
||||
#: src/machine/org.freedesktop.machine1.policy:107
|
||||
#, fuzzy
|
||||
#| msgid ""
|
||||
#| "Authentication is required to create a local virtual machine or container."
|
||||
msgid ""
|
||||
"Authentication is required to register a local virtual machine or container."
|
||||
msgstr ""
|
||||
"Otentikasi diperlukan untuk membuat sebuah mesin virtual lokal atau "
|
||||
"Otentikasi diperlukan untuk mendaftarkan sebuah mesin virtual lokal atau "
|
||||
"kontainer."
|
||||
|
||||
#: src/machine/org.freedesktop.machine1.policy:116
|
||||
@ -1123,13 +1117,11 @@ msgstr "Otentikasi diperlukan untuk berlangganan hasil kuiri."
|
||||
|
||||
#: src/resolve/org.freedesktop.resolve1.policy:154
|
||||
msgid "Subscribe to DNS configuration"
|
||||
msgstr ""
|
||||
msgstr "Berlangganan ke konfigurasi DNS"
|
||||
|
||||
#: src/resolve/org.freedesktop.resolve1.policy:155
|
||||
#, fuzzy
|
||||
#| msgid "Authentication is required to subscribe query results."
|
||||
msgid "Authentication is required to subscribe to DNS configuration."
|
||||
msgstr "Otentikasi diperlukan untuk berlangganan hasil kuiri."
|
||||
msgstr "Otentikasi diperlukan untuk berlangganan ke konfigurasi DNS."
|
||||
|
||||
#: src/resolve/org.freedesktop.resolve1.policy:165
|
||||
msgid "Dump cache"
|
||||
@ -1272,16 +1264,12 @@ msgstr ""
|
||||
"'$(unit)'."
|
||||
|
||||
#: src/core/dbus-unit.c:620
|
||||
#, fuzzy
|
||||
#| msgid ""
|
||||
#| "Authentication is required to send a UNIX signal to the processes of "
|
||||
#| "'$(unit)'."
|
||||
msgid ""
|
||||
"Authentication is required to send a UNIX signal to the processes of "
|
||||
"subgroup of '$(unit)'."
|
||||
msgstr ""
|
||||
"Otentikasi diperlukan untuk megirim suatu sinyal UNIX ke proses dari "
|
||||
"'$(unit)'."
|
||||
"Otentikasi diperlukan untuk megirim suatu sinyal UNIX ke proses dari sub "
|
||||
"grup '$(unit)'."
|
||||
|
||||
#: src/core/dbus-unit.c:648
|
||||
msgid "Authentication is required to reset the \"failed\" state of '$(unit)'."
|
||||
|
24
po/zh_CN.po
24
po/zh_CN.po
@ -15,7 +15,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-07-23 15:38+0100\n"
|
||||
"PO-Revision-Date: 2025-07-27 09:55+0000\n"
|
||||
"PO-Revision-Date: 2025-07-28 17:25+0000\n"
|
||||
"Last-Translator: Jesse Guo <jesseguotech@outlook.com>\n"
|
||||
"Language-Team: Chinese (Simplified) <https://translate.fedoraproject.org/"
|
||||
"projects/systemd/main/zh_CN/>\n"
|
||||
@ -101,7 +101,7 @@ msgstr "核验家区域的凭证"
|
||||
#: src/home/org.freedesktop.home1.policy:34
|
||||
msgid ""
|
||||
"Authentication is required to check credentials against a user's home area."
|
||||
msgstr "将凭据与用户家区域进行核验需要认证。"
|
||||
msgstr "依据用户的家区域核验凭证需要认证。"
|
||||
|
||||
#: src/home/org.freedesktop.home1.policy:43
|
||||
msgid "Update a home area"
|
||||
@ -331,7 +331,7 @@ msgstr "设置静态主机名"
|
||||
msgid ""
|
||||
"Authentication is required to set the statically configured local hostname, "
|
||||
"as well as the pretty hostname."
|
||||
msgstr "设定静态本地主机名或美观主机名需要认证。"
|
||||
msgstr "设置静态本地主机名或美观主机名需要认证。"
|
||||
|
||||
#: src/hostname/org.freedesktop.hostname1.policy:41
|
||||
msgid "Set machine information"
|
||||
@ -367,7 +367,7 @@ msgstr "获得系统描述需要认证。"
|
||||
|
||||
#: src/import/org.freedesktop.import1.policy:22
|
||||
msgid "Import a disk image"
|
||||
msgstr "导入虚拟机或容器镜像"
|
||||
msgstr "导入磁盘镜像"
|
||||
|
||||
#: src/import/org.freedesktop.import1.policy:23
|
||||
msgid "Authentication is required to import an image."
|
||||
@ -375,7 +375,7 @@ msgstr "导入镜像需要认证。"
|
||||
|
||||
#: src/import/org.freedesktop.import1.policy:32
|
||||
msgid "Export a disk image"
|
||||
msgstr "导出一个磁盘映像"
|
||||
msgstr "导出磁盘镜像"
|
||||
|
||||
#: src/import/org.freedesktop.import1.policy:33
|
||||
msgid "Authentication is required to export disk image."
|
||||
@ -391,7 +391,7 @@ msgstr "下载磁盘镜像需要认证。"
|
||||
|
||||
#: src/import/org.freedesktop.import1.policy:52
|
||||
msgid "Cancel transfer of a disk image"
|
||||
msgstr "取消磁盘映像的传输"
|
||||
msgstr "取消磁盘镜像的传输"
|
||||
|
||||
#: src/import/org.freedesktop.import1.policy:53
|
||||
msgid ""
|
||||
@ -408,11 +408,11 @@ msgstr "设置系统区域和语言需要认证。"
|
||||
|
||||
#: src/locale/org.freedesktop.locale1.policy:33
|
||||
msgid "Set system keyboard settings"
|
||||
msgstr "设置系统键盘"
|
||||
msgstr "设置系统键盘设置"
|
||||
|
||||
#: src/locale/org.freedesktop.locale1.policy:34
|
||||
msgid "Authentication is required to set the system keyboard settings."
|
||||
msgstr "设置系统键盘需要认证。"
|
||||
msgstr "设置系统键盘设置需要认证。"
|
||||
|
||||
#: src/login/org.freedesktop.login1.policy:22
|
||||
msgid "Allow applications to inhibit system shutdown"
|
||||
@ -479,13 +479,13 @@ msgstr "允许应用程序阻止系统响应挂起键需要认证。"
|
||||
|
||||
#: src/login/org.freedesktop.login1.policy:97
|
||||
msgid "Allow applications to inhibit system handling of the hibernate key"
|
||||
msgstr "允许应用程序阻止系统响应挂起键"
|
||||
msgstr "允许应用程序阻止系统响应休眠键"
|
||||
|
||||
#: src/login/org.freedesktop.login1.policy:98
|
||||
msgid ""
|
||||
"Authentication is required for an application to inhibit system handling of "
|
||||
"the hibernate key."
|
||||
msgstr "允许应用程序阻止系统响应挂起键需要认证。"
|
||||
msgstr "允许应用程序阻止系统响应休眠键需要认证。"
|
||||
|
||||
#: src/login/org.freedesktop.login1.policy:107
|
||||
msgid "Allow applications to inhibit system handling of the lid switch"
|
||||
@ -525,14 +525,14 @@ msgstr "允许未登录用户运行程序需要认证。"
|
||||
|
||||
#: src/login/org.freedesktop.login1.policy:148
|
||||
msgid "Allow attaching devices to seats"
|
||||
msgstr "允许将设备附加至会话座位"
|
||||
msgstr "允许将设备附加至席位"
|
||||
|
||||
# Pay attention to the concept of "seat".
|
||||
#
|
||||
# To fully understand the meaning, please refer to session management in old ConsoleKit and new systemd-logind.
|
||||
#: src/login/org.freedesktop.login1.policy:149
|
||||
msgid "Authentication is required to attach a device to a seat."
|
||||
msgstr "允许将设备附加至某个会话座位需要认证。"
|
||||
msgstr "将设备附加至席位需要认证。"
|
||||
|
||||
#: src/login/org.freedesktop.login1.policy:159
|
||||
msgid "Flush device to seat attachments"
|
||||
|
@ -70,8 +70,7 @@ _bootctl() {
|
||||
fi
|
||||
|
||||
local -A VERBS=(
|
||||
# systemd-efi-options takes an argument, but it is free-form, so we cannot complete it
|
||||
[STANDALONE]='help status install update remove is-installed random-seed systemd-efi-options list set-timeout set-timeout-oneshot cleanup'
|
||||
[STANDALONE]='help status install update remove is-installed random-seed list set-timeout set-timeout-oneshot cleanup'
|
||||
[BOOTENTRY]='set-default set-oneshot unlink'
|
||||
[BOOLEAN]='reboot-to-firmware'
|
||||
[FILE]='kernel-identify kernel-inspect'
|
||||
|
@ -45,7 +45,6 @@ _bootctl_reboot-to-firmware() {
|
||||
"remove:Remove systemd-boot from the ESP and EFI variables"
|
||||
"is-installed:Test whether systemd-boot is installed in the ESP"
|
||||
"random-seed:Initialize random seed in ESP and EFI variables"
|
||||
"systemd-efi-options:Query or set system options string in EFI variable"
|
||||
"reboot-to-firmware:Query or set reboot-to-firmware EFI flag"
|
||||
"list:List boot loader entries"
|
||||
"set-default:Set the default boot loader entry"
|
||||
|
@ -509,16 +509,18 @@ int chaseat(int dir_fd, const char *path, ChaseFlags flags, char **ret_path, int
|
||||
close_and_replace(fd, child);
|
||||
}
|
||||
|
||||
if (FLAGS_SET(flags, CHASE_MUST_BE_DIRECTORY)) {
|
||||
r = stat_verify_directory(&st);
|
||||
if (r < 0)
|
||||
return r;
|
||||
}
|
||||
if (exists) {
|
||||
if (FLAGS_SET(flags, CHASE_MUST_BE_DIRECTORY)) {
|
||||
r = stat_verify_directory(&st);
|
||||
if (r < 0)
|
||||
return r;
|
||||
}
|
||||
|
||||
if (FLAGS_SET(flags, CHASE_MUST_BE_REGULAR)) {
|
||||
r = stat_verify_regular(&st);
|
||||
if (r < 0)
|
||||
return r;
|
||||
if (FLAGS_SET(flags, CHASE_MUST_BE_REGULAR)) {
|
||||
r = stat_verify_regular(&st);
|
||||
if (r < 0)
|
||||
return r;
|
||||
}
|
||||
}
|
||||
|
||||
if (ret_path) {
|
||||
|
@ -145,7 +145,9 @@ int conf_file_new_at(const char *path, int rfd, ChaseFlags chase_flags, ConfFile
|
||||
return log_debug_errno(r, "Failed to extract directory from '%s': %m", path);
|
||||
if (r >= 0) {
|
||||
r = chaseat(rfd, dirpath,
|
||||
CHASE_AT_RESOLVE_IN_ROOT | (FLAGS_SET(chase_flags, CHASE_NONEXISTENT) ? CHASE_NONEXISTENT : CHASE_MUST_BE_DIRECTORY),
|
||||
CHASE_AT_RESOLVE_IN_ROOT |
|
||||
CHASE_MUST_BE_DIRECTORY |
|
||||
(FLAGS_SET(chase_flags, CHASE_NONEXISTENT) ? CHASE_NONEXISTENT : 0),
|
||||
&resolved_dirpath, /* ret_fd = */ NULL);
|
||||
if (r < 0)
|
||||
return log_debug_errno(r, "Failed to chase '%s%s': %m", empty_to_root(root), skip_leading_slash(dirpath));
|
||||
|
@ -615,9 +615,9 @@ void efi_id128_to_guid(sd_id128_t id, void *ret_guid) {
|
||||
assert(ret_guid);
|
||||
|
||||
EFI_GUID uuid = {
|
||||
.Data1 = id.bytes[0] << 24 | id.bytes[1] << 16 | id.bytes[2] << 8 | id.bytes[3],
|
||||
.Data2 = id.bytes[4] << 8 | id.bytes[5],
|
||||
.Data3 = id.bytes[6] << 8 | id.bytes[7],
|
||||
.Data1 = (uint32_t) id.bytes[0] << 24 | (uint32_t) id.bytes[1] << 16 | (uint32_t) id.bytes[2] << 8 | id.bytes[3],
|
||||
.Data2 = (uint16_t) id.bytes[4] << 8 | id.bytes[5],
|
||||
.Data3 = (uint16_t) id.bytes[6] << 8 | id.bytes[7],
|
||||
};
|
||||
memcpy(uuid.Data4, id.bytes+8, sizeof(uuid.Data4));
|
||||
memcpy(ret_guid, &uuid, sizeof(uuid));
|
||||
|
@ -24,9 +24,13 @@ trap -p SIGUSR1
|
||||
|
||||
systemctl start TEST-23-UNIT-FILE-success.service
|
||||
|
||||
while [ "$sigusr1" -eq 0 ] ; do
|
||||
for _ in {1..120}; do
|
||||
sleep .5
|
||||
if [[ "$sigusr1" == 1 ]]; then
|
||||
break
|
||||
fi
|
||||
done
|
||||
[[ "$sigusr1" == 1 ]]
|
||||
|
||||
systemctl stop TEST-23-UNIT-FILE-uphold.service
|
||||
|
||||
@ -46,17 +50,13 @@ rm -f /tmp/TEST-23-UNIT-FILE-retry-fail
|
||||
systemctl start TEST-23-UNIT-FILE-retry-uphold.service
|
||||
systemctl is-active TEST-23-UNIT-FILE-upheldby-install.service
|
||||
|
||||
until systemctl is-failed TEST-23-UNIT-FILE-retry-fail.service ; do
|
||||
sleep .5
|
||||
done
|
||||
timeout 60 bash -c 'until systemctl is-failed TEST-23-UNIT-FILE-retry-fail.service; do sleep .5; done'
|
||||
|
||||
(! systemctl is-active TEST-23-UNIT-FILE-retry-upheld.service)
|
||||
|
||||
touch /tmp/TEST-23-UNIT-FILE-retry-fail
|
||||
|
||||
until systemctl is-active TEST-23-UNIT-FILE-retry-upheld.service ; do
|
||||
sleep .5
|
||||
done
|
||||
timeout 60 bash -c 'until systemctl is-active TEST-23-UNIT-FILE-retry-upheld.service; do sleep .5; done'
|
||||
|
||||
systemctl stop TEST-23-UNIT-FILE-retry-uphold.service TEST-23-UNIT-FILE-retry-fail.service TEST-23-UNIT-FILE-retry-upheld.service
|
||||
|
||||
@ -74,10 +74,13 @@ trap sigusr2=1 SIGUSR2
|
||||
|
||||
systemctl start TEST-23-UNIT-FILE-prop-stop-one.service
|
||||
|
||||
while [ "$sigusr2" -eq 0 ] ; do
|
||||
for _ in {1..120}; do
|
||||
sleep .5
|
||||
if [[ "$sigusr2" == 1 ]]; then
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
[[ "$sigusr2" == 1 ]]
|
||||
|
||||
# Idea is this:
|
||||
# 1. we start TEST-23-UNIT-FILE-binds-to.service
|
||||
@ -92,8 +95,12 @@ trap sigrtmin1=1 SIGRTMIN+1
|
||||
|
||||
systemctl start TEST-23-UNIT-FILE-binds-to.service
|
||||
|
||||
while [ "$sigrtmin1" -eq 0 ] ; do
|
||||
for _ in {1..120}; do
|
||||
sleep .5
|
||||
if [[ "$sigrtmin1" == 1 ]]; then
|
||||
break
|
||||
fi
|
||||
done
|
||||
[[ "$sigrtmin1" == 1 ]]
|
||||
|
||||
systemd-analyze log-level info
|
||||
|
Loading…
x
Reference in New Issue
Block a user