| 1 |
# Arabic translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# زايد السعيدي <[email protected]>, 2026. |
| 5 |
msgid "" |
| 6 |
msgstr "" |
| 7 |
"Project-Id-Version: manpages-l10n 4.30.2\n" |
| 8 |
"POT-Creation-Date: 2026-06-05 06:21+0200\n" |
| 9 |
"PO-Revision-Date: 2026-05-12 21:08+0400\n" |
| 10 |
"Last-Translator: Zayed Al-Saidi <[email protected]>\n" |
| 11 |
"Language-Team: Arabic <[email protected]>\n" |
| 12 |
"Language: ar\n" |
| 13 |
"MIME-Version: 1.0\n" |
| 14 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 15 |
"Content-Transfer-Encoding: 8bit\n" |
| 16 |
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " |
| 17 |
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" |
| 18 |
"X-Generator: Lokalize 23.08.5\n" |
| 19 |
|
| 20 |
#. type: TH |
| 21 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 22 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 23 |
#, no-wrap |
| 24 |
msgid "DAEMON" |
| 25 |
msgstr "DAEMON" |
| 26 |
|
| 27 |
#. type: TH |
| 28 |
#: archlinux |
| 29 |
#, no-wrap |
| 30 |
msgid "systemd 260.2" |
| 31 |
msgstr "systemd 260.2" |
| 32 |
|
| 33 |
#. type: TH |
| 34 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 35 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 36 |
#, no-wrap |
| 37 |
msgid "daemon" |
| 38 |
msgstr "daemon" |
| 39 |
|
| 40 |
#. ----------------------------------------------------------------- |
| 41 |
#. * MAIN CONTENT STARTS HERE * |
| 42 |
#. ----------------------------------------------------------------- |
| 43 |
#. type: SH |
| 44 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 45 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 46 |
#, no-wrap |
| 47 |
msgid "NAME" |
| 48 |
msgstr "الاسم" |
| 49 |
|
| 50 |
#. type: Plain text |
| 51 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 52 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 53 |
msgid "daemon - Writing and packaging system daemons" |
| 54 |
msgstr "daemon - كتابة وتعبئة دايمونات النظام" |
| 55 |
|
| 56 |
#. type: SH |
| 57 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 58 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 59 |
#, no-wrap |
| 60 |
msgid "DESCRIPTION" |
| 61 |
msgstr "الوصف" |
| 62 |
|
| 63 |
#. type: Plain text |
| 64 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 65 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 66 |
msgid "" |
| 67 |
"A daemon is a service process that runs in the background and supervises the " |
| 68 |
"system or provides functionality to other processes\\&. Traditionally, " |
| 69 |
"daemons are implemented following a scheme originating in SysV Unix\\&. " |
| 70 |
"Modern daemons should follow a simpler yet more powerful scheme (here called " |
| 71 |
"\"new-style\" daemons), as implemented by B<systemd>(1)\\&. This manual page " |
| 72 |
"covers both schemes, and in particular includes recommendations for daemons " |
| 73 |
"that shall be included in the systemd init system\\&." |
| 74 |
msgstr "" |
| 75 |
"الدايمون هو عملية خدمة تعمل في الخلفية وتشرف على النظام أو توفر وظائف " |
| 76 |
"لعمليات أخرى\\&. تقليديًا، تُنفذ الدايمونات وفق مخطط نشأ في يونكس SysV\\&. يجب " |
| 77 |
"أن تتبع الدايمونات الحديثة مخططًا أبسط لكنه أكثر قوة (يسمى هنا \"دايمونات " |
| 78 |
"النمط الجديد\")، كما ينفذه B<systemd>(1)\\&. تغطي صفحة الدليل هذه كلا " |
| 79 |
"المخططين، وتتضمن بشكل خاص توصيات للدايمونات التي ينبغي تضمينها في نظام init " |
| 80 |
"الخاص بـ systemd\\&." |
| 81 |
|
| 82 |
#. type: SS |
| 83 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 84 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 85 |
#, no-wrap |
| 86 |
msgid "SysV Daemons" |
| 87 |
msgstr "دايمونات SysV" |
| 88 |
|
| 89 |
#. type: Plain text |
| 90 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 91 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 92 |
msgid "" |
| 93 |
"When a traditional SysV daemon starts, it should execute the following steps " |
| 94 |
"as part of the initialization\\&. Note that these steps are unnecessary for " |
| 95 |
"new-style daemons (see below), and should only be implemented if " |
| 96 |
"compatibility with SysV is essential\\&." |
| 97 |
msgstr "" |
| 98 |
"عند بدء دايمون SysV تقليدي، يجب أن ينفذ الخطوات التالية كجزء من التهيئة\\&. " |
| 99 |
"لاحظ أن هذه الخطوات غير ضرورية للدايمونات ذات النمط الجديد (انظر أدناه)، " |
| 100 |
"ويجب تنفيذها فقط إذا كان التوافق مع SysV ضروريًا\\&." |
| 101 |
|
| 102 |
#. type: Plain text |
| 103 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 104 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 105 |
msgid "" |
| 106 |
"Close all open file descriptors except standard input, output, and error " |
| 107 |
"(i\\&.e\\&. the first three file descriptors 0, 1, 2)\\&. This ensures that " |
| 108 |
"no accidentally passed file descriptor stays around in the daemon " |
| 109 |
"process\\&. On Linux, this is best implemented by iterating through /proc/" |
| 110 |
"self/fd, with a fallback of iterating from file descriptor 3 to the value " |
| 111 |
"returned by B<getrlimit()> for B<RLIMIT_NOFILE>\\&." |
| 112 |
msgstr "" |
| 113 |
"أغلق جميع واصفات الملفات المفتوحة باستثناء الإدخال والإخراج والخطأ القياسي " |
| 114 |
"(أي واصفات الملفات الثلاثة الأولى 0 و1 و2)\\&. يضمن هذا عدم بقاء أي واصف " |
| 115 |
"ملفات مُرر عن طريق الخطأ في عملية الدايمون\\&. في لينكس، يُنفذ هذا بشكل أفضل " |
| 116 |
"من خلال التكرار عبر /proc/self/fd، مع خيار احتياطي للتكرار من واصف الملفات 3 " |
| 117 |
"إلى القيمة التي يعيدها B<getrlimit()> لـ B<RLIMIT_NOFILE>\\&." |
| 118 |
|
| 119 |
#. type: Plain text |
| 120 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 121 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 122 |
msgid "" |
| 123 |
"Reset all signal handlers to their default\\&. This is best done by " |
| 124 |
"iterating through the available signals up to the limit of B<_NSIG> and " |
| 125 |
"resetting them to B<SIG_DFL>\\&." |
| 126 |
msgstr "" |
| 127 |
"أعد تعيين جميع معالجات الإشارات إلى حالتها المبدئية\\&. يُنفذ هذا بشكل أفضل " |
| 128 |
"من خلال التكرار عبر الإشارات المتاحة حتى حد B<_NSIG> وإعادة تعيينها إلى " |
| 129 |
"B<SIG_DFL>\\&." |
| 130 |
|
| 131 |
#. type: Plain text |
| 132 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 133 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 134 |
msgid "Reset the signal mask using B<sigprocmask()>\\&." |
| 135 |
msgstr "أعد تعيين قناع الإشارة باستخدام B<sigprocmask()>\\&." |
| 136 |
|
| 137 |
#. type: Plain text |
| 138 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 139 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 140 |
msgid "" |
| 141 |
"Sanitize the environment block, removing or resetting environment variables " |
| 142 |
"that might negatively impact daemon runtime\\&." |
| 143 |
msgstr "" |
| 144 |
"عقم كتلة البيئة، بإزالة أو إعادة تعيين متغيرات البيئة التي قد تؤثر سلبًا على " |
| 145 |
"وقت تشغيل الدايمون\\&." |
| 146 |
|
| 147 |
#. type: Plain text |
| 148 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 149 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 150 |
msgid "Call B<fork()>, to create a background process\\&." |
| 151 |
msgstr "استدع B<fork()>، لإنشاء عملية خلفية\\&." |
| 152 |
|
| 153 |
#. type: Plain text |
| 154 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 155 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 156 |
msgid "" |
| 157 |
"In the child, call B<setsid()> to detach from any terminal and create an " |
| 158 |
"independent session\\&." |
| 159 |
msgstr "" |
| 160 |
"في العملية الابنة، استدع B<setsid()> للانفصال عن أي طرفية وإنشاء جلسة " |
| 161 |
"مستقلة\\&." |
| 162 |
|
| 163 |
#. type: Plain text |
| 164 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 165 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 166 |
msgid "" |
| 167 |
"In the child, call B<fork()> again, to ensure that the daemon can never re-" |
| 168 |
"acquire a terminal again\\&. (This is relevant if the program \\(em and all " |
| 169 |
"its dependencies \\(em does not carefully specify `O_NOCTTY` on each and " |
| 170 |
"every single `open()` call that might potentially open a TTY device node\\&.)" |
| 171 |
msgstr "" |
| 172 |
"في العملية الابنة، استدع B<fork()> مرة أخرى، لضمان أن الدايمون لا يمكنه أبدًا " |
| 173 |
"إعادة اكتساب طرفية مرة أخرى\\&. (هذا ذو صلة إذا كان البرنامج \\(em وجميع " |
| 174 |
"تبعياته \\(em لا يحدد بعناية `O_NOCTTY` في كل استدعاء `open()` قد يفتح عقدة " |
| 175 |
"جهاز TTY\\&.)" |
| 176 |
|
| 177 |
#. type: Plain text |
| 178 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 179 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 180 |
msgid "" |
| 181 |
"Call B<exit()> in the first child, so that only the second child (the actual " |
| 182 |
"daemon process) stays around\\&. This ensures that the daemon process is re-" |
| 183 |
"parented to init/PID 1, as all daemons should be\\&." |
| 184 |
msgstr "" |
| 185 |
"استدع B<exit()> في العملية الابنة الأولى، بحيث تبقى فقط العملية الابنة " |
| 186 |
"الثانية (عملية الدايمون الفعلية)\\&. يضمن هذا إعادة تبعية عملية الدايمون إلى " |
| 187 |
"init/PID 1، كما ينبغي لجميع الدايمونات\\&." |
| 188 |
|
| 189 |
#. type: Plain text |
| 190 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 191 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 192 |
msgid "" |
| 193 |
"In the daemon process, connect /dev/null to standard input, output, and " |
| 194 |
"error\\&." |
| 195 |
msgstr "في عملية الدايمون، اربط /dev/null بالإدخال والإخراج والخطأ القياسي\\&." |
| 196 |
|
| 197 |
#. type: Plain text |
| 198 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 199 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 200 |
msgid "" |
| 201 |
"In the daemon process, reset the umask to 0, so that the file modes passed " |
| 202 |
"to B<open()>, B<mkdir()> and suchlike directly control the access mode of " |
| 203 |
"the created files and directories\\&." |
| 204 |
msgstr "" |
| 205 |
"في عملية الدايمون، أعد تعيين umask إلى 0، بحيث تتحكم أوضاع الملفات الممررة " |
| 206 |
"إلى B<open()> وB<mkdir()> وما شابه مباشرة في وضع الوصول للملفات والأدلة " |
| 207 |
"المنشأة\\&." |
| 208 |
|
| 209 |
#. type: Plain text |
| 210 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 211 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 212 |
msgid "" |
| 213 |
"In the daemon process, change the current directory to the root directory " |
| 214 |
"(/), in order to avoid that the daemon involuntarily blocks mount points " |
| 215 |
"from being unmounted\\&." |
| 216 |
msgstr "" |
| 217 |
"في عملية الدايمون، غير الدليل الحالي إلى الدليل الجذر (/)، لتجنب أن يمنع " |
| 218 |
"الدايمون نقاط الوصل من الفصل بشكل غير إرادي\\&." |
| 219 |
|
| 220 |
#. type: Plain text |
| 221 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 222 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 223 |
msgid "" |
| 224 |
"In the daemon process, write the daemon PID (as returned by B<getpid()>) to " |
| 225 |
"a PID file, for example /run/foobar\\&.pid (for a hypothetical daemon " |
| 226 |
"\"foobar\") to ensure that the daemon cannot be started more than once\\&. " |
| 227 |
"This must be implemented in race-free fashion so that the PID file is only " |
| 228 |
"updated when it is verified at the same time that the PID previously stored " |
| 229 |
"in the PID file no longer exists or belongs to a foreign process\\&." |
| 230 |
msgstr "" |
| 231 |
"في عملية الدايمون، اكتب PID الدايمون (كما يعيده B<getpid()>) إلى ملف PID، " |
| 232 |
"على سبيل المثال /run/foobar\\&.pid (لدايمون افتراضي \"foobar\") لضمان عدم " |
| 233 |
"بدء الدايمون أكثر من مرة\\&. يجب تنفيذ هذا بطريقة خالية من السباق بحيث يُحدث " |
| 234 |
"ملف PID فقط عندما يُتحقق في نفس الوقت من أن PID المخزن سابقًا في ملف PID لم " |
| 235 |
"يعد موجودًا أو ينتمي إلى عملية أجنبية\\&." |
| 236 |
|
| 237 |
#. type: Plain text |
| 238 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 239 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 240 |
msgid "In the daemon process, drop privileges, if possible and applicable\\&." |
| 241 |
msgstr "في عملية الدايمون، أسقط الامتيازات، إذا كان ذلك ممكنًا ومناسبًا\\&." |
| 242 |
|
| 243 |
#. type: Plain text |
| 244 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 245 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 246 |
msgid "" |
| 247 |
"From the daemon process, notify the original process started that " |
| 248 |
"initialization is complete\\&. This can be implemented via an unnamed pipe " |
| 249 |
"or similar communication channel that is created before the first B<fork()> " |
| 250 |
"and hence available in both the original and the daemon process\\&." |
| 251 |
msgstr "" |
| 252 |
"من عملية الدايمون، أبلغ العملية الأصلية التي بدأت أن التهيئة اكتملت\\&. يمكن " |
| 253 |
"تنفيذ هذا عبر أنبوب غير مسمى أو قناة اتصال مماثلة تُنشأ قبل أول B<fork()> " |
| 254 |
"وبالتالي تكون متاحة في كل من العملية الأصلية وعملية الدايمون\\&." |
| 255 |
|
| 256 |
#. type: Plain text |
| 257 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 258 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 259 |
msgid "" |
| 260 |
"Call B<exit()> in the original process\\&. The process that invoked the " |
| 261 |
"daemon must be able to rely on that this B<exit()> happens after " |
| 262 |
"initialization is complete and all external communication channels are " |
| 263 |
"established and accessible\\&." |
| 264 |
msgstr "" |
| 265 |
"استدع B<exit()> في العملية الأصلية\\&. يجب أن تكون العملية التي استدعت " |
| 266 |
"الدايمون قادرة على الاعتماد على أن هذا B<exit()> يحدث بعد اكتمال التهيئة " |
| 267 |
"وإنشاء جميع قنوات الاتصال الخارجية وجعلها قابلة للوصول\\&." |
| 268 |
|
| 269 |
#. type: Plain text |
| 270 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 271 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 272 |
msgid "" |
| 273 |
"The BSD B<daemon()> function should not be used, as it implements only a " |
| 274 |
"subset of these steps\\&." |
| 275 |
msgstr "" |
| 276 |
"لا ينبغي استخدام دالة BSD B<daemon()>، لأنها تنفذ فقط مجموعة فرعية من هذه " |
| 277 |
"الخطوات\\&." |
| 278 |
|
| 279 |
#. type: Plain text |
| 280 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 281 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 282 |
msgid "" |
| 283 |
"A daemon that needs to provide compatibility with SysV systems should " |
| 284 |
"implement the scheme pointed out above\\&. However, it is recommended to " |
| 285 |
"make this behavior optional and configurable via a command line argument to " |
| 286 |
"ease debugging as well as to simplify integration into systems using " |
| 287 |
"systemd\\&." |
| 288 |
msgstr "" |
| 289 |
"الدايمون الذي يحتاج إلى توفير التوافق مع أنظمة SysV يجب أن ينفذ المخطط " |
| 290 |
"المشار إليه أعلاه\\&. ومع ذلك، يُوصى بجعل هذا السلوك اختياريًا وقابلًا للتكوين " |
| 291 |
"عبر وسيط سطر أوامر لتسهيل التنقيح وكذلك لتبسيط التكامل في الأنظمة التي " |
| 292 |
"تستخدم systemd\\&." |
| 293 |
|
| 294 |
#. type: SS |
| 295 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 296 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 297 |
#, no-wrap |
| 298 |
msgid "New-Style Daemons" |
| 299 |
msgstr "دايمونات النمط الجديد" |
| 300 |
|
| 301 |
#. type: Plain text |
| 302 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 303 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 304 |
msgid "" |
| 305 |
"Modern services for Linux should be implemented as new-style daemons\\&. " |
| 306 |
"This makes it easier to supervise and control them at runtime and simplifies " |
| 307 |
"their implementation\\&." |
| 308 |
msgstr "" |
| 309 |
"يجب تنفيذ الخدمات الحديثة للينكس كدايمونات ذات نمط جديد\\&. هذا يجعل الإشراف " |
| 310 |
"عليها والتحكم بها في وقت التشغيل أسهل ويبسط تنفيذها\\&." |
| 311 |
|
| 312 |
#. type: Plain text |
| 313 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 314 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 315 |
msgid "" |
| 316 |
"For developing a new-style daemon, none of the initialization steps " |
| 317 |
"recommended for SysV daemons need to be implemented\\&. New-style init " |
| 318 |
"systems such as systemd make all of them redundant\\&. Moreover, since some " |
| 319 |
"of these steps interfere with process monitoring, file descriptor passing, " |
| 320 |
"and other functionality of the service manager, it is recommended not to " |
| 321 |
"execute them when run as new-style service\\&." |
| 322 |
msgstr "" |
| 323 |
"لتطوير دايمون ذي نمط جديد، لا حاجة لتنفيذ أي من خطوات التهيئة الموصى بها " |
| 324 |
"لدايمونات SysV\\&. أنظمة init ذات النمط الجديد مثل systemd تجعلها جميعًا " |
| 325 |
"زائدة عن الحاجة\\&. علاوة على ذلك، نظرًا لأن بعض هذه الخطوات تتداخل مع مراقبة " |
| 326 |
"العملية وتمرير واصف الملفات ووظائف أخرى لمدير الخدمة، يُوصى بعدم تنفيذها عند " |
| 327 |
"التشغيل كخدمة ذات نمط جديد\\&." |
| 328 |
|
| 329 |
#. type: Plain text |
| 330 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 331 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 332 |
msgid "" |
| 333 |
"Note that new-style init systems guarantee execution of daemon processes in " |
| 334 |
"a clean process context: it is guaranteed that the environment block is " |
| 335 |
"sanitized, that the signal handlers and mask is reset and that no left-over " |
| 336 |
"file descriptors are passed\\&. Daemons will be executed in their own " |
| 337 |
"session, with standard input connected to /dev/null and standard output/" |
| 338 |
"error connected to the B<systemd-journald.service>(8) logging service, " |
| 339 |
"unless otherwise configured\\&. The umask is reset\\&." |
| 340 |
msgstr "" |
| 341 |
"لاحظ أن أنظمة التهيئة ذات النمط الجديد تضمن تنفيذ عمليات الدايمون في سياق " |
| 342 |
"عملية نظيف: يُضمن تعقيم كتلة البيئة، وإعادة تعيين معالجات الإشارات والقناع، " |
| 343 |
"وعدم تمرير واصفات ملفات متبقية\\&. ستُنفذ الدايمونات في جلسة خاصة بها، مع " |
| 344 |
"توصيل الإدخال القياسي بـ /dev/null والإخراج/الخطأ القياسي بخدمة التسجيل " |
| 345 |
"B<systemd-journald.service>(8)، ما لم يُهيأ خلاف ذلك\\&. كما يُعاد تعيين " |
| 346 |
"umask\\&." |
| 347 |
|
| 348 |
#. type: Plain text |
| 349 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 350 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 351 |
msgid "It is recommended for new-style daemons to implement the following:" |
| 352 |
msgstr "يُوصى للدايمونات ذات النمط الجديد بتنفيذ ما يلي:" |
| 353 |
|
| 354 |
#. type: Plain text |
| 355 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 356 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 357 |
msgid "" |
| 358 |
"If applicable, the daemon should notify the service manager about startup " |
| 359 |
"completion or status updates via the B<sd_notify>(3) interface, in " |
| 360 |
"particular I<READY=1> and I<STATUS=\\&...>\\&." |
| 361 |
msgstr "" |
| 362 |
"إذا كان ذلك مناسبًا، يجب على الدايمون إخطار مدير الخدمة باكتمال بدء التشغيل " |
| 363 |
"أو تحديثات الحالة عبر واجهة B<sd_notify>(3)، خاصة I<READY=1> و " |
| 364 |
"I<STATUS=\\&...>\\&." |
| 365 |
|
| 366 |
#. type: Plain text |
| 367 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 368 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 369 |
msgid "" |
| 370 |
"If B<SIGTERM> is received, shut down the daemon and exit cleanly\\&. A " |
| 371 |
"I<STOPPING=1> notification should be sent via B<sd_notify>(3)\\&." |
| 372 |
msgstr "" |
| 373 |
"إذا استُلمت B<SIGTERM>، فأوقف الدايمون واخرج بشكل نظيف\\&. يجب إرسال إشعار " |
| 374 |
"I<STOPPING=1> عبر B<sd_notify>(3)\\&." |
| 375 |
|
| 376 |
#. type: Plain text |
| 377 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 378 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 379 |
msgid "" |
| 380 |
"If B<SIGHUP> is received, reload the configuration files, if this " |
| 381 |
"applies\\&. This should be combined with notifications via B<sd_notify>(3): " |
| 382 |
"I<RELOADING=1> and I<READY=1>\\&." |
| 383 |
msgstr "" |
| 384 |
"إذا استُلمت B<SIGHUP>، فأعد تحميل ملفات التهيئة، إذا كان ذلك مناسبًا\\&. يجب " |
| 385 |
"دمج هذا مع الإشعارات عبر B<sd_notify>(3): I<RELOADING=1> و I<READY=1>\\&." |
| 386 |
|
| 387 |
#. type: Plain text |
| 388 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 389 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 390 |
msgid "" |
| 391 |
"Provide a correct exit code from the main daemon process, as this is used by " |
| 392 |
"the service manager to detect service errors and problems\\&. It is " |
| 393 |
"recommended to follow the exit code scheme as defined in the \\m[blue]B<LSB " |
| 394 |
"recommendations for SysV init scripts>\\m[]\\&\\s-2\\u[1]\\d\\s+2\\&." |
| 395 |
msgstr "" |
| 396 |
"قدم رمز خروج صحيح من عملية الدايمون الرئيسة، حيث يُستخدم هذا من قبل مدير " |
| 397 |
"الخدمة لاكتشاف أخطاء الخدمة ومشاكلها\\&. يوصى باتباع مخطط رمز الخروج كما هو " |
| 398 |
"معرف في \\m[blue]B<توصيات LSB لنصوص تهيئة " |
| 399 |
"SysV>\\m[]\\&\\s-2\\u[1]\\d\\s+2\\&." |
| 400 |
|
| 401 |
#. type: Plain text |
| 402 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 403 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 404 |
msgid "" |
| 405 |
"If possible and applicable, expose the daemon\\*(Aqs control interface via " |
| 406 |
"the D-Bus IPC system and grab a bus name as last step of initialization\\&." |
| 407 |
msgstr "" |
| 408 |
"إذا كان ذلك ممكنًا ومناسبًا، اكشف واجهة التحكم في الدايمون عبر نظام D-Bus IPC " |
| 409 |
"واحصل على اسم ناقل كخطوة أخيرة من التهيئة\\&." |
| 410 |
|
| 411 |
#. type: Plain text |
| 412 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 413 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 414 |
msgid "" |
| 415 |
"For integration in systemd, provide a \\&.service unit file that carries " |
| 416 |
"information about starting, stopping and otherwise maintaining the " |
| 417 |
"daemon\\&. See B<systemd.service>(5) for details\\&." |
| 418 |
msgstr "" |
| 419 |
"للتكامل في systemd، قدم ملف وحدة \\&.service يحمل معلومات حول بدء وإيقاف " |
| 420 |
"وصيانة الدايمون\\&. انظر B<systemd.service>(5) للتفاصيل\\&." |
| 421 |
|
| 422 |
#. type: Plain text |
| 423 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 424 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 425 |
msgid "" |
| 426 |
"As much as possible, rely on the service manager\\*(Aqs functionality to " |
| 427 |
"limit the access of the daemon to files, services, and other resources, i\\&." |
| 428 |
"e\\&. in the case of systemd, rely on systemd\\*(Aqs resource limit control " |
| 429 |
"instead of implementing your own, rely on systemd\\*(Aqs privilege dropping " |
| 430 |
"code instead of implementing it in the daemon, and so on\\&. See B<systemd." |
| 431 |
"exec>(5) for the available controls\\&." |
| 432 |
msgstr "" |
| 433 |
"اعتمد قدر الإمكان على وظائف مدير الخدمة لتقييد وصول الدايمون إلى الملفات " |
| 434 |
"والخدمات والموارد الأخرى، أي في حالة systemd، اعتمد على التحكم في حدود " |
| 435 |
"الموارد الخاص بـ systemd بدلاً من تنفيذ حدودك الخاصة، واعتمد على كود إسقاط " |
| 436 |
"الامتيازات الخاص بـ systemd بدلاً من تنفيذه في الدايمون، وهكذا\\&. انظر " |
| 437 |
"B<systemd.exec>(5) لعناصر التحكم المتاحة\\&." |
| 438 |
|
| 439 |
#. type: Plain text |
| 440 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 441 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 442 |
msgid "" |
| 443 |
"If D-Bus is used, make your daemon bus-activatable by supplying a D-Bus " |
| 444 |
"service activation configuration file\\&. This has multiple advantages: your " |
| 445 |
"daemon may be started lazily on-demand; it may be started in parallel to " |
| 446 |
"other daemons requiring it \\(em which maximizes parallelization and boot-up " |
| 447 |
"speed; your daemon can be restarted on failure without losing any bus " |
| 448 |
"requests, as the bus queues requests for activatable services\\&. See below " |
| 449 |
"for details\\&." |
| 450 |
msgstr "" |
| 451 |
"إذا استُخدم D-Bus، فاجعل الدايمون الخاص بك قابلاً للتفعيل عبر الناقل بتوفير " |
| 452 |
"ملف تهيئة تفعيل خدمة D-Bus\\&. هذا له مزايا متعددة: يمكن بدء الدايمون الخاص " |
| 453 |
"بك بشكل كسول عند الطلب؛ كما يمكن بدؤه بالتوازي مع دايمونات أخرى تحتاجه \\(em " |
| 454 |
"مما يعظم التوازي وسرعة الإقلاع؛ ويمكن إعادة تشغيل الدايمون عند الفشل دون " |
| 455 |
"فقدان أي طلبات ناقل، حيث يقوم الناقل بصف الطلبات للخدمات القابلة للتفعيل\\&. " |
| 456 |
"انظر أدناه للتفاصيل\\&." |
| 457 |
|
| 458 |
#. type: Plain text |
| 459 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 460 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 461 |
msgid "" |
| 462 |
"If your daemon provides services to other local processes or remote clients " |
| 463 |
"via a socket, it should be made socket-activatable following the scheme " |
| 464 |
"pointed out below\\&. Like D-Bus activation, this enables on-demand starting " |
| 465 |
"of services as well as it allows improved parallelization of service start-" |
| 466 |
"up\\&. Also, for state-less protocols (such as syslog, DNS), a daemon " |
| 467 |
"implementing socket-based activation can be restarted without losing a " |
| 468 |
"single request\\&. See below for details\\&." |
| 469 |
msgstr "" |
| 470 |
"إذا كان الدايمون يوفر خدمات لعمليات محلية أخرى أو عملاء بعيدين عبر مقبس، " |
| 471 |
"فيجب جعله قابلاً للتفعيل عبر المقبس باتباع المخطط الموضح أدناه\\&. مثل تفعيل " |
| 472 |
"D-Bus، يُمكّن هذا من بدء الخدمات عند الطلب ويسمح بتحسين توازي بدء الخدمات\\&. " |
| 473 |
"أيضًا، للبروتوكولات عديمة الحالة (مثل syslog، DNS)، يمكن إعادة تشغيل دايمون " |
| 474 |
"ينفذ التفعيل القائم على المقبس دون فقدان أي طلب\\&. انظر أدناه للتفاصيل\\&." |
| 475 |
|
| 476 |
#. type: Plain text |
| 477 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 478 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 479 |
msgid "" |
| 480 |
"If the service opens sockets or other files on it own, and those file " |
| 481 |
"descriptors shall survive a restart, the daemon should store them in the " |
| 482 |
"service manager via B<sd_notify>(3) with I<FDSTORE=1>\\&." |
| 483 |
msgstr "" |
| 484 |
"إذا فتحت الخدمة مقابس أو ملفات أخرى بنفسها، وكان يجب أن تبقى واصفات الملفات " |
| 485 |
"تلك بعد إعادة التشغيل، فيجب على الدايمون تخزينها في مدير الخدمة عبر " |
| 486 |
"B<sd_notify>(3) مع I<FDSTORE=1>\\&." |
| 487 |
|
| 488 |
#. type: Plain text |
| 489 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 490 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 491 |
msgid "" |
| 492 |
"Instead of using the B<syslog()> call to log directly to the system syslog " |
| 493 |
"service, a new-style daemon may choose to simply log to standard error via " |
| 494 |
"B<fprintf()>, which is then forwarded to syslog\\&. If log levels are " |
| 495 |
"necessary, these can be encoded by prefixing individual log lines with " |
| 496 |
"strings like \"E<lt>4E<gt>\" (for log level 4 \"WARNING\" in the syslog " |
| 497 |
"priority scheme), following a similar style as the Linux kernel\\*(Aqs " |
| 498 |
"B<printk()> level system\\&. For details, see B<sd-daemon>(3) and B<systemd." |
| 499 |
"exec>(5)\\&." |
| 500 |
msgstr "" |
| 501 |
"بدلاً من استخدام استدعاء B<syslog()> للتسجيل مباشرة في خدمة syslog للنظام، قد " |
| 502 |
"يختار دايمون ذو نمط جديد التسجيل ببساطة إلى الخطأ القياسي عبر B<fprintf()>، " |
| 503 |
"والذي يُوجه بعد ذلك إلى syslog\\&. إذا كانت مستويات التسجيل ضرورية، فيمكن " |
| 504 |
"ترميزها بإضافة بادئات لأسطر التسجيل الفردية بسلاسل مثل " |
| 505 |
"\"E<lt>4E<gt>\" (لمستوى التسجيل 4 \"WARNING\" في مخطط أولوية syslog)، باتباع " |
| 506 |
"نمط مشابه لنظام مستوى B<printk()> في نواة لينكس\\&. للتفاصيل، انظر B<sd-" |
| 507 |
"daemon>(3) و B<systemd.exec>(5)\\&." |
| 508 |
|
| 509 |
#. type: Plain text |
| 510 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 511 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 512 |
msgid "" |
| 513 |
"As new-style daemons are invoked without a controlling TTY (but as their own " |
| 514 |
"session leaders) care should be taken to always specify B<O_NOCTTY> on " |
| 515 |
"B<open>(2) calls that possibly reference a TTY device node, so that no " |
| 516 |
"controlling TTY is accidentally acquired\\&." |
| 517 |
msgstr "" |
| 518 |
"بما أن الدايمونات ذات النمط الجديد تُستدعى بدون TTY تحكم (ولكن كقادة جلسات " |
| 519 |
"خاصة بهم)، فيجب توخي الحذر لتحديد B<O_NOCTTY> دائمًا في استدعاءات B<open>(2) " |
| 520 |
"التي قد تشير إلى عقدة جهاز TTY، بحيث لا يُستحوذ على TTY تحكم عن طريق الخطأ\\&." |
| 521 |
|
| 522 |
#. type: Plain text |
| 523 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 524 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 525 |
msgid "" |
| 526 |
"These recommendations are similar but not identical to the \\m[blue]B<Apple " |
| 527 |
"MacOS X Daemon Requirements>\\m[]\\&\\s-2\\u[2]\\d\\s+2\\&." |
| 528 |
msgstr "" |
| 529 |
"تتشابه هذه التوصيات ولكنها ليست مطابقة لـ \\m[blue]B<متطلبات دايمون Apple " |
| 530 |
"MacOS X>\\m[]\\&\\s-2\\u[2]\\d\\s+2\\&." |
| 531 |
|
| 532 |
#. type: SH |
| 533 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 534 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 535 |
#, no-wrap |
| 536 |
msgid "ACTIVATION" |
| 537 |
msgstr "التفعيل" |
| 538 |
|
| 539 |
#. type: Plain text |
| 540 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 541 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 542 |
msgid "" |
| 543 |
"New-style init systems provide multiple additional mechanisms to activate " |
| 544 |
"services, as detailed below\\&. It is common that services are configured to " |
| 545 |
"be activated via more than one mechanism at the same time\\&. An example for " |
| 546 |
"systemd: bluetoothd\\&.service might get activated either when Bluetooth " |
| 547 |
"hardware is plugged in, or when an application accesses its programming " |
| 548 |
"interfaces via D-Bus\\&. Or, a print server daemon might get activated when " |
| 549 |
"traffic arrives at an IPP port, or when a printer is plugged in, or when a " |
| 550 |
"file is queued in the printer spool directory\\&. Even for services that are " |
| 551 |
"intended to be started on system bootup unconditionally, it is a good idea " |
| 552 |
"to implement some of the various activation schemes outlined below, in order " |
| 553 |
"to maximize parallelization\\&. If a daemon implements a D-Bus service or " |
| 554 |
"listening socket, implementing the full bus and socket activation scheme " |
| 555 |
"allows starting of the daemon with its clients in parallel (which speeds up " |
| 556 |
"boot-up), since all its communication channels are established already, and " |
| 557 |
"no request is lost because client requests will be queued by the bus system " |
| 558 |
"(in case of D-Bus) or the kernel (in case of sockets) until the activation " |
| 559 |
"is completed\\&." |
| 560 |
msgstr "" |
| 561 |
"توفر أنظمة التهيئة ذات النمط الجديد آليات إضافية متعددة لتفعيل الخدمات، كما " |
| 562 |
"هو مفصل أدناه\\&. من الشائع أن تُهيأ الخدمات ليتم تفعيلها عبر أكثر من آلية في " |
| 563 |
"نفس الوقت\\&. مثال لـ systemd: قد يتم تفعيل bluetoothd\\&.service إما عند " |
| 564 |
"توصيل أجهزة بلوتوث، أو عند وصول تطبيق إلى واجهات برمجته عبر D-Bus\\&. أو، قد " |
| 565 |
"يتم تفعيل دايمون خادم طباعة عند وصول حركة مرور إلى منفذ IPP، أو عند توصيل " |
| 566 |
"طابعة، أو عند وضع ملف في قائمة انتظار دليل الطباعة\\&. حتى للخدمات التي " |
| 567 |
"يُعتزم بدؤها عند إقلاع النظام دون شروط، من الجيد تنفيذ بعض مخططات التفعيل " |
| 568 |
"المختلفة الموضحة أدناه، لتعظيم التوازي\\&. إذا نفذ دايمون خدمة D-Bus أو مقبس " |
| 569 |
"استماع، فإن تنفيذ مخطط التفعيل الكامل للناقل والمقبس يسمح ببدء الدايمون مع " |
| 570 |
"عملائه بالتوازي (مما يسرع الإقلاع)، بما أن جميع قنوات الاتصال الخاصة به قد " |
| 571 |
"أُنشئت بالفعل، ولا يُفقد أي طلب لأن طلبات العميل ستُصطف بواسطة نظام الناقل (في " |
| 572 |
"حالة D-Bus) أو النواة (في حالة المقابس) حتى اكتمال التفعيل\\&." |
| 573 |
|
| 574 |
#. type: SS |
| 575 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 576 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 577 |
#, no-wrap |
| 578 |
msgid "Activation on Boot" |
| 579 |
msgstr "التفعيل عند الإقلاع" |
| 580 |
|
| 581 |
#. type: Plain text |
| 582 |
#: archlinux debian-unstable fedora-rawhide opensuse-tumbleweed |
| 583 |
msgid "" |
| 584 |
"Old-style daemons are usually activated exclusively on boot (and manually by " |
| 585 |
"the administrator) via SysV init scripts, as detailed in the \\m[blue]B<LSB " |
| 586 |
"Linux Standard Base Core Specification>\\m[]\\&\\s-2\\u[1]\\d\\s+2\\&. Among " |
| 587 |
"other issues, SysV init scripts have the disadvantage of involving shell " |
| 588 |
"scripts in the boot process\\&. Support for init scripts has been phased out " |
| 589 |
"in modern Linux init systems, and should not be relied upon\\&. New-style " |
| 590 |
"init systems generally use updated versions of activation, both during boot-" |
| 591 |
"up and during runtime and using more minimal service description files\\&." |
| 592 |
msgstr "" |
| 593 |
"عادة ما يتم تفعيل الدايمونات القديمة حصريًا عند الإقلاع (ويدويًا بواسطة " |
| 594 |
"المسؤول) عبر نصوص تهيئة SysV، كما هو مفصل في \\m[blue]B<مواصفات LSB الأساسية " |
| 595 |
"لنظام لينكس القياسي>\\m[]\\&\\s-2\\u[1]\\d\\s+2\\&. من بين مشكلات أخرى، نصوص " |
| 596 |
"تهيئة SysV لها عيب إشراك نصوص صدفة في عملية الإقلاع\\&. تم إلغاء دعم نصوص " |
| 597 |
"التهيئة تدريجيًا في أنظمة لينكس الحديثة، ولا ينبغي الاعتماد عليها\\&. تستخدم " |
| 598 |
"أنظمة التهيئة ذات النمط الجديد بشكل عام إصدارات محدثة من التفعيل، سواء أثناء " |
| 599 |
"الإقلاع أو أثناء وقت التشغيل، وباستخدام ملفات وصف خدمة أكثر بساطة\\&." |
| 600 |
|
| 601 |
#. type: Plain text |
| 602 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 603 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 604 |
msgid "" |
| 605 |
"In systemd, if the developer or administrator wants to make sure that a " |
| 606 |
"service or other unit is activated automatically on boot, it is recommended " |
| 607 |
"to place a symlink to the unit file in the \\&.wants/ directory of either " |
| 608 |
"multi-user\\&.target or graphical\\&.target, which are normally used as boot " |
| 609 |
"targets at system startup\\&. See B<systemd.unit>(5) for details about the " |
| 610 |
"\\&.wants/ directories, and B<systemd.special>(7) for details about the two " |
| 611 |
"boot targets\\&." |
| 612 |
msgstr "" |
| 613 |
"في systemd، إذا أراد المطور أو المسؤول التأكد من تفعيل خدمة أو وحدة أخرى " |
| 614 |
"آليًا عند الإقلاع، يوصى بوضع رابط رمزي لملف الوحدة في دليل \\&.wants/ الخاص " |
| 615 |
"بـ multi-user\\&.target أو graphical\\&.target، واللذين يُستخدمان عادة كأهداف " |
| 616 |
"إقلاع عند بدء النظام\\&. انظر B<systemd.unit>(5) للتفاصيل حول أدلة \\&." |
| 617 |
"wants/، و B<systemd.special>(7) للتفاصيل حول هدفي الإقلاع\\&." |
| 618 |
|
| 619 |
#. type: SS |
| 620 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 621 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 622 |
#, no-wrap |
| 623 |
msgid "Socket-Based Activation" |
| 624 |
msgstr "التفعيل القائم على المقبس" |
| 625 |
|
| 626 |
#. type: Plain text |
| 627 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 628 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 629 |
msgid "" |
| 630 |
"In order to maximize the possible parallelization and robustness and " |
| 631 |
"simplify configuration and development, it is recommended for all new-style " |
| 632 |
"daemons that communicate via listening sockets to use socket-based " |
| 633 |
"activation\\&. In a socket-based activation scheme, the creation and binding " |
| 634 |
"of the listening socket as primary communication channel of daemons to local " |
| 635 |
"(and sometimes remote) clients is moved out of the daemon code and into the " |
| 636 |
"service manager\\&. Based on per-daemon configuration, the service manager " |
| 637 |
"installs the sockets and then hands them off to the spawned process as soon " |
| 638 |
"as the respective daemon is to be started\\&. Optionally, activation of the " |
| 639 |
"service can be delayed until the first inbound traffic arrives at the socket " |
| 640 |
"to implement on-demand activation of daemons\\&. However, the primary " |
| 641 |
"advantage of this scheme is that all providers and all consumers of the " |
| 642 |
"sockets can be started in parallel as soon as all sockets are " |
| 643 |
"established\\&. In addition to that, daemons can be restarted with losing " |
| 644 |
"only a minimal number of client transactions, or even any client request at " |
| 645 |
"all (the latter is particularly true for state-less protocols, such as DNS " |
| 646 |
"or syslog), because the socket stays bound and accessible during the " |
| 647 |
"restart, and all requests are queued while the daemon cannot process them\\&." |
| 648 |
msgstr "" |
| 649 |
"من أجل تعظيم التوازي والمتانة الممكنة وتبسيط التهيئة والتطوير، يُوصى لجميع " |
| 650 |
"الدايمونات ذات النمط الجديد التي تتصل عبر مقابس استماع باستخدام التفعيل " |
| 651 |
"القائم على المقبس\\&. في مخطط التفعيل القائم على المقبس، يُنقل إنشاء وربط " |
| 652 |
"مقبس الاستماع كقناة اتصال رئيسة للدايمونات إلى العملاء المحليين (وأحيانًا " |
| 653 |
"البعيدين) من كود الدايمون إلى مدير الخدمة\\&. بناءً على تهيئة كل دايمون، يثبت " |
| 654 |
"مدير الخدمة المقابس ثم يسلمها إلى العملية المولدة بمجرد بدء تشغيل الدايمون " |
| 655 |
"المعني\\&. اختياريًا، يمكن تأخير تفعيل الخدمة حتى وصول أول حركة مرور واردة " |
| 656 |
"إلى المقبس لتنفيذ التفعيل عند الطلب للدايمونات\\&. ومع ذلك، فإن الميزة " |
| 657 |
"الرئيسة لهذا المخطط هي أنه يمكن بدء جميع مزودي ومستهلكي المقابس بالتوازي " |
| 658 |
"بمجرد إنشاء جميع المقابس\\&. بالإضافة إلى ذلك، يمكن إعادة تشغيل الدايمونات " |
| 659 |
"مع فقدان الحد الأدنى فقط من معاملات العميل، أو حتى عدم فقدان أي طلب عميل على " |
| 660 |
"الإطلاق (الأخير ينطبق بشكل خاص على البروتوكولات عديمة الحالة، مثل DNS أو " |
| 661 |
"syslog)، لأن المقبس يبقى مربوطًا وقابلاً للوصول أثناء إعادة التشغيل، وتُصف جميع " |
| 662 |
"الطلبات بينما لا يستطيع الدايمون معالجتها\\&." |
| 663 |
|
| 664 |
#. type: Plain text |
| 665 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 666 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 667 |
msgid "" |
| 668 |
"New-style daemons which support socket activation must be able to receive " |
| 669 |
"their sockets from the service manager instead of creating and binding them " |
| 670 |
"themselves\\&. For details about the programming interfaces for this scheme " |
| 671 |
"provided by systemd, see B<sd_listen_fds>(3) and B<sd-daemon>(3)\\&. For " |
| 672 |
"details about porting existing daemons to socket-based activation, see " |
| 673 |
"below\\&. With minimal effort, it is possible to implement socket-based " |
| 674 |
"activation in addition to traditional internal socket creation in the same " |
| 675 |
"codebase in order to support both new-style and old-style init systems from " |
| 676 |
"the same daemon binary\\&." |
| 677 |
msgstr "" |
| 678 |
"يجب أن تكون الدايمونات ذات النمط الجديد التي تدعم تفعيل المقبس قادرة على " |
| 679 |
"استقبال مقابسهما من مدير الخدمة بدلاً من إنشائها وربطها بأنفسها\\&. للتفاصيل " |
| 680 |
"حول واجهات البرمجة لهذا المخطط التي يوفرها systemd، انظر B<sd_listen_fds>(3) " |
| 681 |
"و B<sd-daemon>(3)\\&. للتفاصيل حول نقل الدايمونات الموجودة إلى التفعيل " |
| 682 |
"القائم على المقبس، انظر أدناه\\&. بجهد ضئيل، يمكن تنفيذ التفعيل القائم على " |
| 683 |
"المقبس بالإضافة إلى إنشاء المقبس الداخلي التقليدي في نفس قاعدة الكود لدعم كل " |
| 684 |
"من أنظمة init ذات النمط الجديد والقديم من نفس ملف الدايمون الثنائي\\&." |
| 685 |
|
| 686 |
#. type: Plain text |
| 687 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 688 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 689 |
msgid "" |
| 690 |
"systemd implements socket-based activation via \\&.socket units, which are " |
| 691 |
"described in B<systemd.socket>(5)\\&. When configuring socket units for " |
| 692 |
"socket-based activation, it is essential that all listening sockets are " |
| 693 |
"pulled in by the special target unit sockets\\&.target\\&. It is recommended " |
| 694 |
"to place a I<WantedBy=sockets\\&.target> directive in the [Install] section " |
| 695 |
"to automatically add such a dependency on installation of a socket unit\\&. " |
| 696 |
"Unless I<DefaultDependencies=no> is set, the necessary ordering dependencies " |
| 697 |
"are implicitly created for all socket units\\&. For more information about " |
| 698 |
"sockets\\&.target, see B<systemd.special>(7)\\&. It is not necessary or " |
| 699 |
"recommended to place any additional dependencies on socket units (for " |
| 700 |
"example from multi-user\\&.target or suchlike) when one is installed in " |
| 701 |
"sockets\\&.target\\&." |
| 702 |
msgstr "" |
| 703 |
"ينفذ systemd التفعيل القائم على المقبس عبر وحدات \\&.socket، الموصوفة في " |
| 704 |
"B<systemd.socket>(5)\\&. عند تهيئة وحدات المقابس للتفعيل القائم على المقبس، " |
| 705 |
"من الضروري جلب جميع مقابس الاستماع بواسطة وحدة الهدف الخاصة sockets\\&." |
| 706 |
"target\\&. يوصى بوضع توجيه I<WantedBy=sockets\\&.target> في قسم [Install] " |
| 707 |
"لإضافة هذا الاعتماد آليًا عند تثبيت وحدة مقبس\\&. ما لم يُضبط " |
| 708 |
"I<DefaultDependencies=no>، يتم إنشاء تبعيات الترتيب اللازمة ضمنيًا لجميع " |
| 709 |
"وحدات المقابس\\&. لمزيد من المعلومات حول sockets\\&.target، انظر B<systemd." |
| 710 |
"special>(7)\\&. ليس من الضروري أو الموصى به وضع أي تبعيات إضافية على وحدات " |
| 711 |
"المقابس (على سبيل المثال من multi-user\\&.target أو ما شابه) عندما تكون " |
| 712 |
"مثبتة في sockets\\&.target\\&." |
| 713 |
|
| 714 |
#. type: SS |
| 715 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 716 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 717 |
#, no-wrap |
| 718 |
msgid "Bus-Based Activation" |
| 719 |
msgstr "التفعيل القائم على الناقل" |
| 720 |
|
| 721 |
#. type: Plain text |
| 722 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 723 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 724 |
msgid "" |
| 725 |
"When the D-Bus IPC system is used for communication with clients, new-style " |
| 726 |
"daemons should use bus activation so that they are automatically activated " |
| 727 |
"when a client application accesses their IPC interfaces\\&. This is " |
| 728 |
"configured in D-Bus service files (not to be confused with systemd service " |
| 729 |
"unit files!)\\&. To ensure that D-Bus uses systemd to start-up and maintain " |
| 730 |
"the daemon, use the I<SystemdService=> directive in these service files to " |
| 731 |
"configure the matching systemd service for a D-Bus service\\&. e\\&.g\\&.: " |
| 732 |
"For a D-Bus service whose D-Bus activation file is named org\\&." |
| 733 |
"freedesktop\\&.RealtimeKit\\&.service, make sure to set " |
| 734 |
"I<SystemdService=rtkit-daemon\\&.service> in that file to bind it to the " |
| 735 |
"systemd service rtkit-daemon\\&.service\\&. This is needed to make sure that " |
| 736 |
"the daemon is started in a race-free fashion when activated via multiple " |
| 737 |
"mechanisms simultaneously\\&." |
| 738 |
msgstr "" |
| 739 |
"عند استخدام نظام IPC الخاص بـ D-Bus للتواصل مع العملاء، ينبغي للبرامج الخفية " |
| 740 |
"ذات النمط الجديد استخدام تنشيط الناقل بحيث تُنشَّط آليًا عندما يصل تطبيق عميل " |
| 741 |
"إلى واجهات IPC الخاصة بها\\&. يُهيأ هذا في ملفات خدمة D-Bus (لا تخلط بينها " |
| 742 |
"وبين ملفات وحدات خدمة systemd!)\\&. لضمان استخدام D-Bus لـ systemd لبدء " |
| 743 |
"البرنامج الخفي وصيانته، استخدم التوجيه I<SystemdService=> في ملفات الخدمة " |
| 744 |
"هذه لتهيئة خدمة systemd المطابقة لخدمة D-Bus\\&. مثال: بالنسبة لخدمة D-Bus " |
| 745 |
"التي يكون ملف تنشيط D-Bus الخاص بها باسم org\\&.freedesktop\\&." |
| 746 |
"RealtimeKit\\&.service، تأكد من تعيين I<SystemdService=rtkit-daemon\\&." |
| 747 |
"service> في ذلك الملف لربطها بخدمة systemd rtkit-daemon\\&.service\\&. هذا " |
| 748 |
"ضروري لضمان بدء البرنامج الخفي بطريقة خالية من السباق عند تنشيطه عبر آليات " |
| 749 |
"متعددة في وقت واحد\\&." |
| 750 |
|
| 751 |
#. type: SS |
| 752 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 753 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 754 |
#, no-wrap |
| 755 |
msgid "Device-Based Activation" |
| 756 |
msgstr "التفعيل القائم على الجهاز" |
| 757 |
|
| 758 |
#. type: Plain text |
| 759 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 760 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 761 |
msgid "" |
| 762 |
"Often, daemons that manage a particular type of hardware should be activated " |
| 763 |
"only when the hardware of the respective kind is plugged in or otherwise " |
| 764 |
"becomes available\\&. In a new-style init system, it is possible to bind " |
| 765 |
"activation to hardware plug/unplug events\\&. In systemd, kernel devices " |
| 766 |
"appearing in the sysfs/udev device tree can be exposed as units if they are " |
| 767 |
"tagged with the string \"systemd\"\\&. Like any other kind of unit, they may " |
| 768 |
"then pull in other units when activated (i\\&.e\\&. plugged in) and thus " |
| 769 |
"implement device-based activation\\&. systemd dependencies may be encoded in " |
| 770 |
"the udev database via the I<SYSTEMD_WANTS=> property\\&. See B<systemd." |
| 771 |
"device>(5) for details\\&. Often, it is nicer to pull in services from " |
| 772 |
"devices only indirectly via dedicated targets\\&. Example: Instead of " |
| 773 |
"pulling in bluetoothd\\&.service from all the various bluetooth dongles and " |
| 774 |
"other hardware available, pull in bluetooth\\&.target from them and " |
| 775 |
"bluetoothd\\&.service from that target\\&. This provides for nicer " |
| 776 |
"abstraction and gives administrators the option to enable bluetoothd\\&." |
| 777 |
"service via controlling a bluetooth\\&.target\\&.wants/ symlink uniformly " |
| 778 |
"with a command like B<enable> of B<systemctl>(1) instead of manipulating " |
| 779 |
"the udev ruleset\\&." |
| 780 |
msgstr "" |
| 781 |
"غالبًا، ينبغي تنشيط البرامج الخفية التي تدير نوعًا معينًا من العتاد فقط عند " |
| 782 |
"توصيل العتاد من النوع المعني أو عند توفره بطريقة أخرى\\&. في نظام init ذي " |
| 783 |
"النمط الجديد، من الممكن ربط التنشيط بأحداث توصيل/فصل العتاد\\&. في systemd، " |
| 784 |
"يمكن عرض أجهزة النواة التي تظهر في شجرة أجهزة sysfs/udev كوحدات إذا كانت " |
| 785 |
"موسومة بالسلسلة \"systemd\"\\&. مثل أي نوع آخر من الوحدات، يمكنها بعد ذلك " |
| 786 |
"سحب وحدات أخرى عند تنشيطها (أي عند توصيلها) وبالتالي تنفيذ تنشيط مستند إلى " |
| 787 |
"الجهاز\\&. يمكن ترميز تبعيات systemd في قاعدة بيانات udev عبر الخاصية " |
| 788 |
"I<SYSTEMD_WANTS=>\\&. انظر B<systemd.device>(5) للتفاصيل\\&. غالبًا، من " |
| 789 |
"الأفضل سحب الخدمات من الأجهزة بشكل غير مباشر فقط عبر أهداف مخصصة\\&. مثال: " |
| 790 |
"بدلاً من سحب bluetoothd\\&.service من جميع أجهزة البلوتوث المختلفة والعتاد " |
| 791 |
"الآخر المتاح، اسحب bluetooth\\&.target منها و bluetoothd\\&.service من ذلك " |
| 792 |
"الهدف\\&. يوفر هذا تجريدًا أفضل ويعطي المسؤولين خيار تمكين bluetoothd\\&." |
| 793 |
"service عبر التحكم في رابط رمزي bluetooth\\&.target\\&.wants/ بشكل موحد بأمر " |
| 794 |
"مثل B<enable> من B<systemctl>(1) بدلاً من التلاعب بمجموعة قواعد udev\\&." |
| 795 |
|
| 796 |
#. type: SS |
| 797 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 798 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 799 |
#, no-wrap |
| 800 |
msgid "Path-Based Activation" |
| 801 |
msgstr "التفعيل القائم على المسار" |
| 802 |
|
| 803 |
#. type: Plain text |
| 804 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 805 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 806 |
msgid "" |
| 807 |
"Often, runtime of daemons processing spool files or directories (such as a " |
| 808 |
"printing system) can be delayed until these file system objects change " |
| 809 |
"state, or become non-empty\\&. New-style init systems provide a way to bind " |
| 810 |
"service activation to file system changes\\&. systemd implements this scheme " |
| 811 |
"via path-based activation configured in \\&.path units, as outlined in " |
| 812 |
"B<systemd.path>(5)\\&." |
| 813 |
msgstr "" |
| 814 |
"غالبًا، يمكن تأخير وقت تشغيل البرامج الخفية التي تعالج ملفات أو أدلة التخزين " |
| 815 |
"المؤقت (مثل نظام الطباعة) حتى تغير كائنات نظام الملفات هذه حالتها، أو تصبح " |
| 816 |
"غير فارغة\\&. توفر أنظمة init ذات النمط الجديد طريقة لربط تنشيط الخدمة " |
| 817 |
"بتغييرات نظام الملفات\\&. ينفذ systemd هذا المخطط عبر التنشيط المستند إلى " |
| 818 |
"المسار المُهيأ في وحدات \\&.path، كما هو موضح في B<systemd.path>(5)\\&." |
| 819 |
|
| 820 |
#. type: SS |
| 821 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 822 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 823 |
#, no-wrap |
| 824 |
msgid "Timer-Based Activation" |
| 825 |
msgstr "التفعيل القائم على المؤقت" |
| 826 |
|
| 827 |
#. type: Plain text |
| 828 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 829 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 830 |
msgid "" |
| 831 |
"Some daemons that implement clean-up jobs that are intended to be executed " |
| 832 |
"in regular intervals benefit from timer-based activation\\&. In systemd, " |
| 833 |
"this is implemented via \\&.timer units, as described in B<systemd." |
| 834 |
"timer>(5)\\&." |
| 835 |
msgstr "" |
| 836 |
"تستفيد بعض البرامج الخفية التي تنفذ مهام تنظيف يُقصد تنفيذها على فترات منتظمة " |
| 837 |
"من التنشيط المستند إلى المؤقت\\&. في systemd، يُنفذ هذا عبر وحدات \\&.timer، " |
| 838 |
"كما هو موصوف في B<systemd.timer>(5)\\&." |
| 839 |
|
| 840 |
#. type: SS |
| 841 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 842 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 843 |
#, no-wrap |
| 844 |
msgid "Other Forms of Activation" |
| 845 |
msgstr "أشكال أخرى من التفعيل" |
| 846 |
|
| 847 |
#. type: Plain text |
| 848 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 849 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 850 |
msgid "" |
| 851 |
"Other forms of activation have been suggested and implemented in some " |
| 852 |
"systems\\&. However, there are often simpler or better alternatives, or they " |
| 853 |
"can be put together of combinations of the schemes above\\&. Example: " |
| 854 |
"Sometimes, it appears useful to start daemons or \\&.socket units when a " |
| 855 |
"specific IP address is configured on a network interface, because network " |
| 856 |
"sockets shall be bound to the address\\&. However, an alternative to " |
| 857 |
"implement this is by utilizing the Linux B<IP_FREEBIND>/B<IPV6_FREEBIND> " |
| 858 |
"socket option, as accessible via I<FreeBind=yes> in systemd socket files " |
| 859 |
"(see B<systemd.socket>(5) for details)\\&. This option, when enabled, " |
| 860 |
"allows sockets to be bound to a non-local, not configured IP address, and " |
| 861 |
"hence allows bindings to a particular IP address before it actually becomes " |
| 862 |
"available, making such an explicit dependency to the configured address " |
| 863 |
"redundant\\&. Another often suggested trigger for service activation is low " |
| 864 |
"system load\\&. However, here too, a more convincing approach might be to " |
| 865 |
"make proper use of features of the operating system, in particular, the CPU " |
| 866 |
"or I/O scheduler of Linux\\&. Instead of scheduling jobs from userspace " |
| 867 |
"based on monitoring the OS scheduler, it is advisable to leave the " |
| 868 |
"scheduling of processes to the OS scheduler itself\\&. systemd provides fine-" |
| 869 |
"grained access to the CPU and I/O schedulers\\&. If a process executed by " |
| 870 |
"the service manager shall not negatively impact the amount of CPU or I/O " |
| 871 |
"bandwidth available to other processes, it should be configured with " |
| 872 |
"I<CPUSchedulingPolicy=idle> and/or I<IOSchedulingClass=idle>\\&. Optionally, " |
| 873 |
"this may be combined with timer-based activation to schedule background jobs " |
| 874 |
"during runtime and with minimal impact on the system, and remove it from the " |
| 875 |
"boot phase itself\\&." |
| 876 |
msgstr "" |
| 877 |
"اقتُرحت أشكال أخرى من التنشيط ونُفذت في بعض الأنظمة\\&. ومع ذلك، غالبًا ما توجد " |
| 878 |
"بدائل أبسط أو أفضل، أو يمكن تجميعها من مجموعات المخططات أعلاه\\&. مثال: " |
| 879 |
"أحيانًا، يبدو من المفيد بدء البرامج الخفية أو وحدات \\&.socket عند تهيئة " |
| 880 |
"عنوان IP محدد على واجهة شبكة، لأن مقابس الشبكة ينبغي ربطها بالعنوان\\&. ومع " |
| 881 |
"ذلك، البديل لتنفيذ هذا هو استخدام خيار مقبس Linux B<IP_FREEBIND>/" |
| 882 |
"B<IPV6_FREEBIND>، كما هو متاح عبر I<FreeBind=yes> في ملفات مقبس systemd " |
| 883 |
"(انظر B<systemd.socket>(5) للتفاصيل)\\&. هذا الخيار، عند تمكينه، يسمح بربط " |
| 884 |
"المقابس بعنوان IP غير محلي وغير مهيأ، وبالتالي يسمح بالربط بعنوان IP معين " |
| 885 |
"قبل أن يصبح متاحًا فعليًا، مما يجعل هذا الاعتماد الصريح على العنوان المهيأ " |
| 886 |
"زائدًا\\&. المحفز الآخر المقترح غالبًا لتنشيط الخدمة هو انخفاض حمل النظام\\&. " |
| 887 |
"ومع ذلك، هنا أيضًا، قد يكون النهج الأكثر إقناعًا هو الاستخدام السليم لميزات " |
| 888 |
"نظام التشغيل، ولا سيما جدولة CPU أو I/O في Linux\\&. بدلاً من جدولة المهام من " |
| 889 |
"مساحة المستخدم بناءً على مراقبة جدولة نظام التشغيل، يُنصح بترك جدولة العمليات " |
| 890 |
"لجدولة نظام التشغيل نفسها\\&. يوفر systemd وصولًا دقيقًا إلى جداول CPU و I/" |
| 891 |
"O\\&. إذا كان من المفترض ألا تؤثر عملية ينفذها مدير الخدمة سلبًا على مقدار " |
| 892 |
"عرض النطاق الترددي لوحدة المعالجة المركزية أو الإدخال/الإخراج المتاح " |
| 893 |
"للعمليات الأخرى، فينبغي تهيئتها باستخدام I<CPUSchedulingPolicy=idle> و/أو " |
| 894 |
"I<IOSchedulingClass=idle>\\&. اختياريًا، يمكن دمج هذا مع التنشيط المستند إلى " |
| 895 |
"المؤقت لجدولة مهام الخلفية أثناء وقت التشغيل وبأقل تأثير على النظام، " |
| 896 |
"وإزالتها من مرحلة الإقلاع نفسها\\&." |
| 897 |
|
| 898 |
#. type: SH |
| 899 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 900 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 901 |
#, no-wrap |
| 902 |
msgid "INTEGRATION WITH SYSTEMD" |
| 903 |
msgstr "التكامل مع SYSTEMD" |
| 904 |
|
| 905 |
#. type: SS |
| 906 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 907 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 908 |
#, no-wrap |
| 909 |
msgid "Writing systemd Unit Files" |
| 910 |
msgstr "كتابة ملفات وحدات systemd" |
| 911 |
|
| 912 |
#. type: Plain text |
| 913 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 914 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 915 |
msgid "" |
| 916 |
"When writing systemd unit files, it is recommended to consider the following " |
| 917 |
"suggestions:" |
| 918 |
msgstr "عند كتابة ملفات وحدات systemd، يُوصى بمراعاة الاقتراحات التالية:" |
| 919 |
|
| 920 |
#. type: Plain text |
| 921 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 922 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 923 |
msgid "" |
| 924 |
"If possible, do not use the I<Type=forking> setting in service files\\&. But " |
| 925 |
"if you do, make sure to set the PID file path using I<PIDFile=>\\&. See " |
| 926 |
"B<systemd.service>(5) for details\\&." |
| 927 |
msgstr "" |
| 928 |
"إذا أمكن، لا تستخدم الإعداد I<Type=forking> في ملفات الخدمة\\&. ولكن إذا " |
| 929 |
"فعلت، تأكد من تعيين مسار ملف PID باستخدام I<PIDFile=>\\&. انظر B<systemd." |
| 930 |
"service>(5) للتفاصيل\\&." |
| 931 |
|
| 932 |
#. type: Plain text |
| 933 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 934 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 935 |
msgid "" |
| 936 |
"If your daemon registers a D-Bus name on the bus, make sure to use " |
| 937 |
"I<Type=dbus> in the service file if possible\\&." |
| 938 |
msgstr "" |
| 939 |
"إذا سجل برنامجك الخفي اسم D-Bus على الناقل، تأكد من استخدام I<Type=dbus> في " |
| 940 |
"ملف الخدمة إذا أمكن\\&." |
| 941 |
|
| 942 |
#. type: Plain text |
| 943 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 944 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 945 |
msgid "" |
| 946 |
"Make sure to set a good human-readable description string with " |
| 947 |
"I<Description=>\\&." |
| 948 |
msgstr "" |
| 949 |
"تأكد من تعيين سلسلة وصف جيدة قابلة للقراءة البشرية باستخدام " |
| 950 |
"I<Description=>\\&." |
| 951 |
|
| 952 |
#. type: Plain text |
| 953 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 954 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 955 |
msgid "" |
| 956 |
"Do not disable I<DefaultDependencies=>, unless you really know what you do " |
| 957 |
"and your unit is involved in early boot or late system shutdown\\&." |
| 958 |
msgstr "" |
| 959 |
"لا تعطل I<DefaultDependencies=>، إلا إذا كنت تعرف حقًا ما تفعل ووحدتك متورطة " |
| 960 |
"في الإقلاع المبكر أو إيقاف تشغيل النظام المتأخر\\&." |
| 961 |
|
| 962 |
#. type: Plain text |
| 963 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 964 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 965 |
msgid "" |
| 966 |
"Normally, little if any dependencies should need to be defined " |
| 967 |
"explicitly\\&. However, if you do configure explicit dependencies, only " |
| 968 |
"refer to unit names listed on B<systemd.special>(7) or names introduced by " |
| 969 |
"your own package to keep the unit file operating system-independent\\&." |
| 970 |
msgstr "" |
| 971 |
"عادةً، لا ينبغي تعريف سوى القليل من التبعيات بشكل صريح\\&. ومع ذلك، إذا قمت " |
| 972 |
"بتهيئة تبعيات صريحة، فاشير فقط إلى أسماء الوحدات المدرجة في B<systemd." |
| 973 |
"special>(7) أو الأسماء التي قدمتها حزمتك الخاصة للحفاظ على استقلالية ملف " |
| 974 |
"الوحدة عن نظام التشغيل\\&." |
| 975 |
|
| 976 |
#. type: Plain text |
| 977 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 978 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 979 |
msgid "" |
| 980 |
"Make sure to include an [Install] section including installation information " |
| 981 |
"for the unit file\\&. See B<systemd.unit>(5) for details\\&. To activate " |
| 982 |
"your service on boot, make sure to add a I<WantedBy=multi-user\\&.target> or " |
| 983 |
"I<WantedBy=graphical\\&.target> directive\\&. To activate your socket on " |
| 984 |
"boot, make sure to add I<WantedBy=sockets\\&.target>\\&. Usually, you also " |
| 985 |
"want to make sure that when your service is installed, your socket is " |
| 986 |
"installed too, hence add I<Also=foo\\&.socket> in your service file foo\\&." |
| 987 |
"service, for a hypothetical program foo\\&." |
| 988 |
msgstr "" |
| 989 |
"تأكد من تضمين قسم [Install] يتضمن معلومات التثبيت لملف الوحدة\\&. انظر " |
| 990 |
"B<systemd.unit>(5) للتفاصيل\\&. لتنشيط خدمتك عند الإقلاع، تأكد من إضافة " |
| 991 |
"توجيه I<WantedBy=multi-user\\&.target> أو I<WantedBy=graphical\\&." |
| 992 |
"target>\\&. لتنشيط مقبسك عند الإقلاع، تأكد من إضافة I<WantedBy=sockets\\&." |
| 993 |
"target>\\&. عادةً، تريد أيضًا التأكد من أنه عند تثبيت خدمتك، يُثبت مقبسك أيضًا، " |
| 994 |
"لذا أضف I<Also=foo\\&.socket> في ملف الخدمة foo\\&.service، لبرنامج افتراضي " |
| 995 |
"foo\\&." |
| 996 |
|
| 997 |
#. type: SS |
| 998 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 999 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1000 |
#, no-wrap |
| 1001 |
msgid "Installing systemd Service Files" |
| 1002 |
msgstr "تثبيت ملفات خدمة systemd" |
| 1003 |
|
| 1004 |
#. type: Plain text |
| 1005 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1006 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1007 |
msgid "" |
| 1008 |
"At the build installation time (e\\&.g\\&. B<make install> during package " |
| 1009 |
"build), packages are recommended to install their systemd unit files in the " |
| 1010 |
"directory returned by B<pkg-config systemd --variable=systemdsystemunitdir> " |
| 1011 |
"(for system services) or B<pkg-config systemd --variable=systemduserunitdir> " |
| 1012 |
"(for user services)\\&. This will make the services available in the system " |
| 1013 |
"on explicit request but not activate them automatically during boot\\&. " |
| 1014 |
"Optionally, during package installation (e\\&.g\\&. B<rpm -i> by the " |
| 1015 |
"administrator), symlinks should be created in the systemd configuration " |
| 1016 |
"directories via the B<enable> command of the B<systemctl>(1) tool to " |
| 1017 |
"activate them automatically on boot\\&." |
| 1018 |
msgstr "" |
| 1019 |
"في وقت تثبيت البناء (مثل B<make install> أثناء بناء الحزمة)، يُوصى بأن تثبت " |
| 1020 |
"الحزم ملفات وحدات systemd الخاصة بها في الدليل الذي يعيده B<pkg-config " |
| 1021 |
"systemd --variable=systemdsystemunitdir> (للخدمات النظامية) أو B<pkg-config " |
| 1022 |
"systemd --variable=systemduserunitdir> (للخدمات المستخدمة)\\&. هذا سيجعل " |
| 1023 |
"الخدمات متاحة في النظام عند الطلب الصريح ولكن لن ينشطها آليًا أثناء " |
| 1024 |
"الإقلاع\\&. اختياريًا، أثناء تثبيت الحزمة (مثل B<rpm -i> من قبل المسؤول)، " |
| 1025 |
"ينبغي إنشاء روابط رمزية في أدلة تهيئة systemd عبر أمر B<enable> من أداة " |
| 1026 |
"B<systemctl>(1) لتنشيطها آليًا عند الإقلاع\\&." |
| 1027 |
|
| 1028 |
#. type: Plain text |
| 1029 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1030 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1031 |
msgid "" |
| 1032 |
"Packages using B<autoconf>(1) are recommended to use a configure script " |
| 1033 |
"excerpt like the following to determine the unit installation path during " |
| 1034 |
"source configuration:" |
| 1035 |
msgstr "" |
| 1036 |
"يُوصى بأن تستخدم الحزم التي تستخدم B<autoconf>(1) مقتطف سكريبت تهيئة مثل " |
| 1037 |
"التالي لتحديد مسار تثبيت الوحدة أثناء تهيئة المصدر:" |
| 1038 |
|
| 1039 |
#. type: Plain text |
| 1040 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1041 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1042 |
#, no-wrap |
| 1043 |
msgid "" |
| 1044 |
"PKG_PROG_PKG_CONFIG()\n" |
| 1045 |
"AC_ARG_WITH([systemdsystemunitdir],\n" |
| 1046 |
" [AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files])],,\n" |
| 1047 |
" [with_systemdsystemunitdir=auto])\n" |
| 1048 |
"AS_IF([test \"x$with_systemdsystemunitdir\" = \"xyes\" -o \"x$with_systemdsystemunitdir\" = \"xauto\"], [\n" |
| 1049 |
" def_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)\n" |
| 1050 |
msgstr "" |
| 1051 |
"PKG_PROG_PKG_CONFIG()\n" |
| 1052 |
"AC_ARG_WITH([systemdsystemunitdir],\n" |
| 1053 |
" [AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files])],,\n" |
| 1054 |
" [with_systemdsystemunitdir=auto])\n" |
| 1055 |
"AS_IF([test \"x$with_systemdsystemunitdir\" = \"xyes\" -o \"x$with_systemdsystemunitdir\" = \"xauto\"], [\n" |
| 1056 |
" def_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)\n" |
| 1057 |
|
| 1058 |
#. type: Plain text |
| 1059 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1060 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1061 |
#, no-wrap |
| 1062 |
msgid "" |
| 1063 |
" AS_IF([test \"x$def_systemdsystemunitdir\" = \"x\"],\n" |
| 1064 |
" [AS_IF([test \"x$with_systemdsystemunitdir\" = \"xyes\"],\n" |
| 1065 |
" [AC_MSG_ERROR([systemd support requested but pkg-config unable to query systemd package])])\n" |
| 1066 |
" with_systemdsystemunitdir=no],\n" |
| 1067 |
" [with_systemdsystemunitdir=\"$def_systemdsystemunitdir\"])])\n" |
| 1068 |
"AS_IF([test \"x$with_systemdsystemunitdir\" != \"xno\"],\n" |
| 1069 |
" [AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir])])\n" |
| 1070 |
"AM_CONDITIONAL([HAVE_SYSTEMD], [test \"x$with_systemdsystemunitdir\" != \"xno\"])\n" |
| 1071 |
msgstr "" |
| 1072 |
" AS_IF([test \"x$def_systemdsystemunitdir\" = \"x\"],\n" |
| 1073 |
" [AS_IF([test \"x$with_systemdsystemunitdir\" = \"xyes\"],\n" |
| 1074 |
" [AC_MSG_ERROR([systemd support requested but pkg-config unable to query systemd package])])\n" |
| 1075 |
" with_systemdsystemunitdir=no],\n" |
| 1076 |
" [with_systemdsystemunitdir=\"$def_systemdsystemunitdir\"])])\n" |
| 1077 |
"AS_IF([test \"x$with_systemdsystemunitdir\" != \"xno\"],\n" |
| 1078 |
" [AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir])])\n" |
| 1079 |
"AM_CONDITIONAL([HAVE_SYSTEMD], [test \"x$with_systemdsystemunitdir\" != \"xno\"])\n" |
| 1080 |
|
| 1081 |
#. type: Plain text |
| 1082 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1083 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1084 |
msgid "" |
| 1085 |
"This snippet allows automatic installation of the unit files on systemd " |
| 1086 |
"machines, and optionally allows their installation even on machines lacking " |
| 1087 |
"systemd\\&. (Modification of this snippet for the user unit directory is " |
| 1088 |
"left as an exercise for the reader\\&.)" |
| 1089 |
msgstr "" |
| 1090 |
"يتيح هذا المقتطف التثبيت التلقائي لملفات الوحدات على الأجهزة التي تعمل بنظام " |
| 1091 |
"systemd، كما يتيح اختيارياً تثبيتها حتى على الأجهزة التي لا تعمل بنظام " |
| 1092 |
"systemd\\&. (يُترك تعديل هذا المقتطف ليتناسب مع دليل وحدات المستخدم كتمرين " |
| 1093 |
"للقارئ\\&.)" |
| 1094 |
|
| 1095 |
#. type: Plain text |
| 1096 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1097 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1098 |
msgid "" |
| 1099 |
"Additionally, to ensure that B<make distcheck> continues to work, it is " |
| 1100 |
"recommended to add the following to the top-level Makefile\\&.am file in " |
| 1101 |
"B<automake>(1)-based projects:" |
| 1102 |
msgstr "" |
| 1103 |
"بالإضافة إلى ذلك، لضمان استمرار عمل B<make distcheck>، يُنصح بإضافة ما يلي " |
| 1104 |
"إلى ملف Makefile\\&.am في المستوى الأعلى في المشاريع القائمة على " |
| 1105 |
"B<automake>(1):" |
| 1106 |
|
| 1107 |
#. type: Plain text |
| 1108 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1109 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1110 |
#, no-wrap |
| 1111 |
msgid "" |
| 1112 |
"AM_DISTCHECK_CONFIGURE_FLAGS = \\e\n" |
| 1113 |
" --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir)\n" |
| 1114 |
msgstr "" |
| 1115 |
"AM_DISTCHECK_CONFIGURE_FLAGS = \\e\n" |
| 1116 |
" --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir)\n" |
| 1117 |
|
| 1118 |
#. type: Plain text |
| 1119 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1120 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1121 |
msgid "" |
| 1122 |
"Finally, unit files should be installed in the system with an automake " |
| 1123 |
"excerpt like the following:" |
| 1124 |
msgstr "" |
| 1125 |
"أخيرًا، يجب تثبيت ملفات الوحدات في النظام باستخدام مقتطف أتوميك مثل التالي:" |
| 1126 |
|
| 1127 |
#. type: Plain text |
| 1128 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1129 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1130 |
#, no-wrap |
| 1131 |
msgid "" |
| 1132 |
"if HAVE_SYSTEMD\n" |
| 1133 |
"systemdsystemunit_DATA = \\e\n" |
| 1134 |
" foobar\\&.socket \\e\n" |
| 1135 |
" foobar\\&.service\n" |
| 1136 |
"endif\n" |
| 1137 |
msgstr "" |
| 1138 |
"if HAVE_SYSTEMD\n" |
| 1139 |
"systemdsystemunit_DATA = \\e\n" |
| 1140 |
" foobar\\&.socket \\e\n" |
| 1141 |
" foobar\\&.service\n" |
| 1142 |
"endif\n" |
| 1143 |
|
| 1144 |
#. type: Plain text |
| 1145 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1146 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1147 |
msgid "" |
| 1148 |
"In the B<rpm>(8) \\&.spec file, use snippets like the following to enable/" |
| 1149 |
"disable the service during installation/deinstallation\\&. This makes use of " |
| 1150 |
"the RPM macros shipped along systemd\\&. Consult the packaging guidelines of " |
| 1151 |
"your distribution for details and the equivalent for other package " |
| 1152 |
"managers\\&." |
| 1153 |
msgstr "" |
| 1154 |
"في ملف B<rpm>(8) \\&.spec، استخدم مقتطفات مثل التالية لتمكين/تعطيل الخدمة " |
| 1155 |
"أثناء التثبيت/إلغاء التثبيت\\&. يستخدم هذا وحدات RPM المرفقة مع systemd\\&. " |
| 1156 |
"راجع إرشادات التعبئة لتوزيعتك للحصول على التفاصيل والمكافئ لمديري الحزم " |
| 1157 |
"الآخرين\\&." |
| 1158 |
|
| 1159 |
#. type: Plain text |
| 1160 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1161 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1162 |
msgid "At the top of the file:" |
| 1163 |
msgstr "في أعلى الملف:" |
| 1164 |
|
| 1165 |
#. type: Plain text |
| 1166 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1167 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1168 |
#, no-wrap |
| 1169 |
msgid "" |
| 1170 |
"BuildRequires: systemd\n" |
| 1171 |
"%{?systemd_requires}\n" |
| 1172 |
msgstr "" |
| 1173 |
"BuildRequires: systemd\n" |
| 1174 |
"%{?systemd_requires}\n" |
| 1175 |
|
| 1176 |
#. type: Plain text |
| 1177 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1178 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1179 |
msgid "And as scriptlets, further down:" |
| 1180 |
msgstr "وكبرامج نصية، في الأسفل:" |
| 1181 |
|
| 1182 |
#. type: Plain text |
| 1183 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1184 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1185 |
#, no-wrap |
| 1186 |
msgid "" |
| 1187 |
"%post\n" |
| 1188 |
"%systemd_post foobar\\&.service foobar\\&.socket\n" |
| 1189 |
msgstr "" |
| 1190 |
"%post\n" |
| 1191 |
"%systemd_post foobar\\&.service foobar\\&.socket\n" |
| 1192 |
|
| 1193 |
#. type: Plain text |
| 1194 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1195 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1196 |
#, no-wrap |
| 1197 |
msgid "" |
| 1198 |
"%preun\n" |
| 1199 |
"%systemd_preun foobar\\&.service foobar\\&.socket\n" |
| 1200 |
msgstr "" |
| 1201 |
"%preun\n" |
| 1202 |
"%systemd_preun foobar\\&.service foobar\\&.socket\n" |
| 1203 |
|
| 1204 |
#. type: Plain text |
| 1205 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1206 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1207 |
#, no-wrap |
| 1208 |
msgid "" |
| 1209 |
"%postun\n" |
| 1210 |
"%systemd_postun\n" |
| 1211 |
msgstr "" |
| 1212 |
"%postun\n" |
| 1213 |
"%systemd_postun\n" |
| 1214 |
|
| 1215 |
#. type: Plain text |
| 1216 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1217 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1218 |
msgid "" |
| 1219 |
"If the service shall be restarted during upgrades, replace the \"%postun\" " |
| 1220 |
"scriptlet above with the following:" |
| 1221 |
msgstr "" |
| 1222 |
"إذا أُعيد تشغيل الخدمة أثناء الترقيات، استبدل البرنامج النصي \"%postun\" " |
| 1223 |
"أعلاه بالتالي:" |
| 1224 |
|
| 1225 |
#. type: Plain text |
| 1226 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1227 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1228 |
#, no-wrap |
| 1229 |
msgid "" |
| 1230 |
"%postun\n" |
| 1231 |
"%systemd_postun_with_restart foobar\\&.service\n" |
| 1232 |
msgstr "" |
| 1233 |
"%postun\n" |
| 1234 |
"%systemd_postun_with_restart foobar\\&.service\n" |
| 1235 |
|
| 1236 |
#. type: Plain text |
| 1237 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1238 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1239 |
msgid "" |
| 1240 |
"Note that \"%systemd_post\" and \"%systemd_preun\" expect the names of all " |
| 1241 |
"units that are installed/removed as arguments, separated by spaces\\&. " |
| 1242 |
"\"%systemd_postun\" expects no arguments\\&. " |
| 1243 |
"\"%systemd_postun_with_restart\" expects the units to restart as " |
| 1244 |
"arguments\\&." |
| 1245 |
msgstr "" |
| 1246 |
"لاحظ أن \"%systemd_post\" و \"%systemd_preun\" تتوقعان أسماء جميع الوحدات " |
| 1247 |
"المثبتة/المحذوفة كوسائط، مفصولة بمسافات\\&. \"%systemd_postun\" لا تتوقع " |
| 1248 |
"وسائط\\&. \"%systemd_postun_with_restart\" تتوقع الوحدات المراد إعادة " |
| 1249 |
"تشغيلها كوسائط\\&." |
| 1250 |
|
| 1251 |
#. type: Plain text |
| 1252 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1253 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1254 |
msgid "" |
| 1255 |
"To facilitate upgrades from a package version that shipped only SysV init " |
| 1256 |
"scripts to a package version that ships both a SysV init script and a native " |
| 1257 |
"systemd service file, use a fragment like the following:" |
| 1258 |
msgstr "" |
| 1259 |
"لتسهيل الترقيات من إصدار حزمة شحن نصوص SysV init فقط إلى إصدار حزمة يشحن كلًا " |
| 1260 |
"من نص SysV init وملف خدمة systemd أصلي، استخدم مقطعًا مثل التالي:" |
| 1261 |
|
| 1262 |
#. type: Plain text |
| 1263 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1264 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1265 |
#, no-wrap |
| 1266 |
msgid "" |
| 1267 |
"%triggerun -- foobar E<lt> 0\\&.47\\&.11-1\n" |
| 1268 |
"if /sbin/chkconfig --level 5 foobar ; then\n" |
| 1269 |
" /bin/systemctl --no-reload enable foobar\\&.service foobar\\&.socket E<gt>/dev/null 2E<gt>&1 || :\n" |
| 1270 |
"fi\n" |
| 1271 |
msgstr "" |
| 1272 |
"%triggerun -- foobar E<lt> 0\\&.47\\&.11-1\n" |
| 1273 |
"if /sbin/chkconfig --level 5 foobar ; then\n" |
| 1274 |
" /bin/systemctl --no-reload enable foobar\\&.service foobar\\&.socket E<gt>/dev/null 2E<gt>&1 || :\n" |
| 1275 |
"fi\n" |
| 1276 |
|
| 1277 |
#. type: Plain text |
| 1278 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1279 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1280 |
msgid "" |
| 1281 |
"Where 0\\&.47\\&.11-1 is the first package version that includes the native " |
| 1282 |
"unit file\\&. This fragment will ensure that the first time the unit file is " |
| 1283 |
"installed, it will be enabled if and only if the SysV init script is " |
| 1284 |
"enabled, thus making sure that the enable status is not changed\\&. Note " |
| 1285 |
"that B<chkconfig> is a command specific to Fedora which can be used to check " |
| 1286 |
"whether a SysV init script is enabled\\&. Other operating systems will have " |
| 1287 |
"to use different commands here\\&." |
| 1288 |
msgstr "" |
| 1289 |
"حيث 0\\&.47\\&.11-1 هو أول إصدار حزمة يتضمن ملف الوحدة الأصلي\\&. سيضمن هذا " |
| 1290 |
"المقطع أنه عند تثبيت ملف الوحدة لأول مرة، سيُمكن إذا وفقط إذا كان نص SysV " |
| 1291 |
"init مُمكنًا، مما يضمن عدم تغيير حالة التمكين\\&. لاحظ أن B<chkconfig> هو أمر " |
| 1292 |
"خاص بـ Fedora يُستخدم للتحقق مما إذا كان نص SysV init مُمكنًا\\&. ستستخدم أنظمة " |
| 1293 |
"التشغيل الأخرى أوامر مختلفة هنا\\&." |
| 1294 |
|
| 1295 |
#. type: SH |
| 1296 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1297 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1298 |
#, no-wrap |
| 1299 |
msgid "PORTING EXISTING DAEMONS" |
| 1300 |
msgstr "نقل الدايمونات الموجودة" |
| 1301 |
|
| 1302 |
#. type: Plain text |
| 1303 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1304 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1305 |
msgid "" |
| 1306 |
"Since new-style init systems such as systemd are compatible with traditional " |
| 1307 |
"SysV init systems, it is not strictly necessary to port existing daemons to " |
| 1308 |
"the new style\\&. However, doing so offers additional functionality to the " |
| 1309 |
"daemons as well as simplifying integration into new-style init systems\\&." |
| 1310 |
msgstr "" |
| 1311 |
"نظرًا لأن أنظمة init الحديثة مثل systemd متوافقة مع أنظمة SysV init " |
| 1312 |
"التقليدية، فليس من الضروري نقل البرامج الخلفية الموجودة إلى النمط الجديد\\&. " |
| 1313 |
"ومع ذلك، فإن القيام بذلك يوفر وظائف إضافية للبرامج الخلفية بالإضافة إلى " |
| 1314 |
"تبسيط التكامل في أنظمة init الحديثة\\&." |
| 1315 |
|
| 1316 |
#. type: Plain text |
| 1317 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1318 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1319 |
msgid "" |
| 1320 |
"To port an existing SysV compatible daemon, the following steps are " |
| 1321 |
"recommended:" |
| 1322 |
msgstr "لنقل برنامج خلفي موجود متوافق مع SysV، يُوصى بالخطوات التالية:" |
| 1323 |
|
| 1324 |
#. type: Plain text |
| 1325 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1326 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1327 |
msgid "" |
| 1328 |
"If not already implemented, add an optional command line switch to the " |
| 1329 |
"daemon to disable daemonization\\&. This is useful not only for using the " |
| 1330 |
"daemon in new-style init systems, but also to ease debugging\\&." |
| 1331 |
msgstr "" |
| 1332 |
"إذا لم يُنفذ بالفعل، أضف مفتاح سطر أوامر اختياريًا للبرنامج الخلفي لتعطيل " |
| 1333 |
"التحول إلى برنامج خلفي\\&. هذا مفيد ليس فقط لاستخدام البرنامج الخلفي في " |
| 1334 |
"أنظمة init الحديثة، ولكن أيضًا لتسهيل التصحيح\\&." |
| 1335 |
|
| 1336 |
#. type: Plain text |
| 1337 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1338 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1339 |
msgid "" |
| 1340 |
"If the daemon offers interfaces to other software running on the local " |
| 1341 |
"system via local B<AF_UNIX> sockets, consider implementing socket-based " |
| 1342 |
"activation (see above)\\&. Usually, a minimal patch is sufficient to " |
| 1343 |
"implement this: Extend the socket creation in the daemon code so that " |
| 1344 |
"B<sd_listen_fds>(3) is checked for already passed sockets first\\&. If " |
| 1345 |
"sockets are passed (i\\&.e\\&. when B<sd_listen_fds()> returns a positive " |
| 1346 |
"value), skip the socket creation step and use the passed sockets\\&. " |
| 1347 |
"Secondly, ensure that the file system socket nodes for local B<AF_UNIX> " |
| 1348 |
"sockets used in the socket-based activation are not removed when the daemon " |
| 1349 |
"shuts down, if sockets have been passed\\&. Third, if the daemon normally " |
| 1350 |
"closes all remaining open file descriptors as part of its initialization, " |
| 1351 |
"the sockets passed from the service manager must be spared\\&. Since new-" |
| 1352 |
"style init systems guarantee that no left-over file descriptors are passed " |
| 1353 |
"to executed processes, it might be a good choice to simply skip the closing " |
| 1354 |
"of all remaining open file descriptors if sockets are passed\\&." |
| 1355 |
msgstr "" |
| 1356 |
"إذا كان البرنامج الخلفي يوفر واجهات لبرامج أخرى تعمل على النظام المحلي عبر " |
| 1357 |
"مقابس B<AF_UNIX> محلية، فكر في تنفيذ التنشيط القائم على المقبس (انظر " |
| 1358 |
"أعلاه)\\&. عادةً، يكفي تصحيح بسيط لتنفيذ هذا: وسّع إنشاء المقبس في كود " |
| 1359 |
"البرنامج الخلفي بحيث يُفحص B<sd_listen_fds>(3) للمقابس الممررة بالفعل " |
| 1360 |
"أولاً\\&. إذا مُررت المقابس (أي عندما يُرجع B<sd_listen_fds()> قيمة موجبة)، تخط " |
| 1361 |
"خطوة إنشاء المقبس واستخدم المقابس الممررة\\&. ثانيًا، تأكد من عدم إزالة عقد " |
| 1362 |
"مقبس نظام الملفات لمقابس B<AF_UNIX> المحلية المستخدمة في التنشيط القائم على " |
| 1363 |
"المقبس عند إيقاف تشغيل البرنامج الخلفي، إذا مُررت المقابس\\&. ثالثًا، إذا كان " |
| 1364 |
"البرنامج الخلفي يغلق عادةً جميع واصفات الملفات المفتوحة المتبقية كجزء من " |
| 1365 |
"تهيئته، فيجب تجنيب المقابس الممررة من مدير الخدمة\\&. نظرًا لأن أنظمة init " |
| 1366 |
"الحديثة تضمن عدم تمرير واصفات ملفات متبقية إلى العمليات المنفذة، فقد يكون " |
| 1367 |
"اختيارًا جيدًا تخطي إغلاق جميع واصفات الملفات المفتوحة المتبقية إذا مُررت " |
| 1368 |
"المقابس\\&." |
| 1369 |
|
| 1370 |
#. type: Plain text |
| 1371 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1372 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1373 |
msgid "" |
| 1374 |
"Write and install a systemd unit file for the service (and the sockets if " |
| 1375 |
"socket-based activation is used, as well as a path unit file, if the daemon " |
| 1376 |
"processes a spool directory), see above for details\\&." |
| 1377 |
msgstr "" |
| 1378 |
"اكتب وقم بتثبيت ملف وحدة systemd للخدمة (والمقابس إذا استُخدم التنشيط القائم " |
| 1379 |
"على المقبس، بالإضافة إلى ملف وحدة مسار، إذا كان البرنامج الخلفي يعالج دليل " |
| 1380 |
"انتظار)، انظر أعلاه للتفاصيل\\&." |
| 1381 |
|
| 1382 |
#. type: Plain text |
| 1383 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1384 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1385 |
msgid "" |
| 1386 |
"If the daemon exposes interfaces via D-Bus, write and install a D-Bus " |
| 1387 |
"activation file for the service, see above for details\\&." |
| 1388 |
msgstr "" |
| 1389 |
"إذا كان البرنامج الخلفي يعرض واجهات عبر D-Bus، اكتب وقم بتثبيت ملف تنشيط D-" |
| 1390 |
"Bus للخدمة، انظر أعلاه للتفاصيل\\&." |
| 1391 |
|
| 1392 |
#. type: SH |
| 1393 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1394 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1395 |
#, no-wrap |
| 1396 |
msgid "PLACING DAEMON DATA" |
| 1397 |
msgstr "وضع بيانات البرنامج الخلفي" |
| 1398 |
|
| 1399 |
#. type: Plain text |
| 1400 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1401 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1402 |
msgid "" |
| 1403 |
"It is recommended to follow the general guidelines for placing package " |
| 1404 |
"files, as discussed in B<file-hierarchy>(7)\\&." |
| 1405 |
msgstr "" |
| 1406 |
"يُوصى باتباع الإرشادات العامة لوضع ملفات الحزمة، كما نوقش في B<file-" |
| 1407 |
"hierarchy>(7)\\&." |
| 1408 |
|
| 1409 |
#. type: SH |
| 1410 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1411 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1412 |
#, no-wrap |
| 1413 |
msgid "NOTES" |
| 1414 |
msgstr "ملاحظات" |
| 1415 |
|
| 1416 |
#. type: Plain text |
| 1417 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1418 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1419 |
msgid "" |
| 1420 |
"All example codes in this page are licensed under \"MIT No " |
| 1421 |
"Attribution\" (SPDX-License-Identifier: MIT-0)\\&." |
| 1422 |
msgstr "" |
| 1423 |
"جميع أمثلة الأكواد في هذه الصفحة مرخصة بموجب \"MIT No Attribution\" (SPDX-" |
| 1424 |
"License-Identifier: MIT-0)\\&." |
| 1425 |
|
| 1426 |
#. type: SH |
| 1427 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1428 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1429 |
#, no-wrap |
| 1430 |
msgid "SEE ALSO" |
| 1431 |
msgstr "انظر أيضًا" |
| 1432 |
|
| 1433 |
#. type: Plain text |
| 1434 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1435 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1436 |
msgid "" |
| 1437 |
"B<systemd>(1), B<sd-daemon>(3), B<sd_listen_fds>(3), B<sd_notify>(3), " |
| 1438 |
"B<daemon>(3), B<systemd.service>(5), B<file-hierarchy>(7)" |
| 1439 |
msgstr "" |
| 1440 |
"B<systemd>(1)، B<sd-daemon>(3)، B<sd_listen_fds>(3)، B<sd_notify>(3)، " |
| 1441 |
"B<daemon>(3)، B<systemd.service>(5)، B<file-hierarchy>(7)" |
| 1442 |
|
| 1443 |
#. type: IP |
| 1444 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1445 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1446 |
#, no-wrap |
| 1447 |
msgid " 1." |
| 1448 |
msgstr " 1." |
| 1449 |
|
| 1450 |
#. type: Plain text |
| 1451 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1452 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1453 |
msgid "LSB recommendations for SysV init scripts" |
| 1454 |
msgstr "توصيات LSB لنصوص تهيئة SysV" |
| 1455 |
|
| 1456 |
#. type: Plain text |
| 1457 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1458 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1459 |
msgid "" |
| 1460 |
"\\%http://refspecs.linuxbase.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/" |
| 1461 |
"iniscrptact.html" |
| 1462 |
msgstr "" |
| 1463 |
"\\%http://refspecs.linuxbase.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/" |
| 1464 |
"iniscrptact.html" |
| 1465 |
|
| 1466 |
#. type: IP |
| 1467 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1468 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1469 |
#, no-wrap |
| 1470 |
msgid " 2." |
| 1471 |
msgstr " 2." |
| 1472 |
|
| 1473 |
#. type: Plain text |
| 1474 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1475 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1476 |
msgid "Apple MacOS X Daemon Requirements" |
| 1477 |
msgstr "متطلبات دايمون Apple MacOS X" |
| 1478 |
|
| 1479 |
#. type: Plain text |
| 1480 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1481 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1482 |
msgid "" |
| 1483 |
"\\%https://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/" |
| 1484 |
"BPSystemStartup/Chapters/CreatingLaunchdJobs.html" |
| 1485 |
msgstr "" |
| 1486 |
"\\%https://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/" |
| 1487 |
"BPSystemStartup/Chapters/CreatingLaunchdJobs.html" |
| 1488 |
|
| 1489 |
#. type: TH |
| 1490 |
#: debian-trixie opensuse-leap-16-1 |
| 1491 |
#, no-wrap |
| 1492 |
msgid "systemd 257.13" |
| 1493 |
msgstr "systemd 257.13" |
| 1494 |
|
| 1495 |
#. type: Plain text |
| 1496 |
#: debian-trixie fedora-44 mageia-cauldron opensuse-leap-16-1 |
| 1497 |
msgid "" |
| 1498 |
"Old-style daemons are usually activated exclusively on boot (and manually by " |
| 1499 |
"the administrator) via SysV init scripts, as detailed in the \\m[blue]B<LSB " |
| 1500 |
"Linux Standard Base Core Specification>\\m[]\\&\\s-2\\u[1]\\d\\s+2\\&. This " |
| 1501 |
"method of activation is supported ubiquitously on Linux init systems, both " |
| 1502 |
"old-style and new-style systems\\&. Among other issues, SysV init scripts " |
| 1503 |
"have the disadvantage of involving shell scripts in the boot process\\&. New-" |
| 1504 |
"style init systems generally use updated versions of activation, both during " |
| 1505 |
"boot-up and during runtime and using more minimal service description " |
| 1506 |
"files\\&." |
| 1507 |
msgstr "" |
| 1508 |
"عادةً ما تُنشط الدايمونات القديمة حصريًا عند الإقلاع (ويدويًا بواسطة المسؤول) " |
| 1509 |
"عبر نصوص تهيئة SysV، كما هو مفصل في \\m[blue]B<مواصفات LSB الأساسية لنظام " |
| 1510 |
"لينكس القياسي>\\m[]\\&\\s-2\\u[1]\\d\\s+2\\&. طريقة التنشيط هذه مدعومة " |
| 1511 |
"عالميًا في أنظمة تهيئة لينكس، سواء الأنظمة القديمة أو الجديدة\\&. من بين " |
| 1512 |
"المشكلات الأخرى، تعاني نصوص تهيئة SysV من عيب إشراك نصوص صدفة في عملية " |
| 1513 |
"الإقلاع\\&. تستخدم أنظمة التهيئة الجديدة عمومًا إصدارات محدثة من التنشيط، " |
| 1514 |
"سواء أثناء الإقلاع أو أثناء وقت التشغيل وباستخدام ملفات وصف خدمة أكثر " |
| 1515 |
"بساطة\\&." |
| 1516 |
|
| 1517 |
#. type: TH |
| 1518 |
#: debian-unstable |
| 1519 |
#, no-wrap |
| 1520 |
msgid "systemd 261~rc3" |
| 1521 |
msgstr "systemd 261~rc3" |
| 1522 |
|
| 1523 |
#. type: TH |
| 1524 |
#: fedora-44 |
| 1525 |
#, no-wrap |
| 1526 |
msgid "systemd 259.5" |
| 1527 |
msgstr "systemd 259.5" |
| 1528 |
|
| 1529 |
#. type: TH |
| 1530 |
#: fedora-rawhide |
| 1531 |
#, no-wrap |
| 1532 |
msgid "systemd 261~rc2" |
| 1533 |
msgstr "systemd 261~rc2" |
| 1534 |
|
| 1535 |
#. type: TH |
| 1536 |
#: mageia-cauldron |
| 1537 |
#, no-wrap |
| 1538 |
msgid "systemd 258.7" |
| 1539 |
msgstr "systemd 258.7" |
| 1540 |
|
| 1541 |
#. type: TH |
| 1542 |
#: opensuse-tumbleweed |
| 1543 |
#, no-wrap |
| 1544 |
msgid "systemd 260.1" |
| 1545 |
msgstr "systemd 260.1" |