# Arabic translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # زايد السعيدي , 2026. msgid "" msgstr "" "Project-Id-Version: manpages-l10n 4.30.2\n" "POT-Creation-Date: 2026-06-05 06:21+0200\n" "PO-Revision-Date: 2026-05-12 21:08+0400\n" "Last-Translator: Zayed Al-Saidi \n" "Language-Team: Arabic \n" "Language: ar\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" "X-Generator: Lokalize 23.08.5\n" #. type: TH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "DAEMON" msgstr "DAEMON" #. type: TH #: archlinux #, no-wrap msgid "systemd 260.2" msgstr "systemd 260.2" #. type: TH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "daemon" msgstr "daemon" #. ----------------------------------------------------------------- #. * MAIN CONTENT STARTS HERE * #. ----------------------------------------------------------------- #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "الاسم" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "daemon - Writing and packaging system daemons" msgstr "daemon - كتابة وتعبئة دايمونات النظام" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "الوصف" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A daemon is a service process that runs in the background and supervises the " "system or provides functionality to other processes\\&. Traditionally, " "daemons are implemented following a scheme originating in SysV Unix\\&. " "Modern daemons should follow a simpler yet more powerful scheme (here called " "\"new-style\" daemons), as implemented by B(1)\\&. This manual page " "covers both schemes, and in particular includes recommendations for daemons " "that shall be included in the systemd init system\\&." msgstr "" "الدايمون هو عملية خدمة تعمل في الخلفية وتشرف على النظام أو توفر وظائف " "لعمليات أخرى\\&. تقليديًا، تُنفذ الدايمونات وفق مخطط نشأ في يونكس SysV\\&. يجب " "أن تتبع الدايمونات الحديثة مخططًا أبسط لكنه أكثر قوة (يسمى هنا \"دايمونات " "النمط الجديد\")، كما ينفذه B(1)\\&. تغطي صفحة الدليل هذه كلا " "المخططين، وتتضمن بشكل خاص توصيات للدايمونات التي ينبغي تضمينها في نظام init " "الخاص بـ systemd\\&." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SysV Daemons" msgstr "دايمونات SysV" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When a traditional SysV daemon starts, it should execute the following steps " "as part of the initialization\\&. Note that these steps are unnecessary for " "new-style daemons (see below), and should only be implemented if " "compatibility with SysV is essential\\&." msgstr "" "عند بدء دايمون SysV تقليدي، يجب أن ينفذ الخطوات التالية كجزء من التهيئة\\&. " "لاحظ أن هذه الخطوات غير ضرورية للدايمونات ذات النمط الجديد (انظر أدناه)، " "ويجب تنفيذها فقط إذا كان التوافق مع SysV ضروريًا\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Close all open file descriptors except standard input, output, and error " "(i\\&.e\\&. the first three file descriptors 0, 1, 2)\\&. This ensures that " "no accidentally passed file descriptor stays around in the daemon " "process\\&. On Linux, this is best implemented by iterating through /proc/" "self/fd, with a fallback of iterating from file descriptor 3 to the value " "returned by B for B\\&." msgstr "" "أغلق جميع واصفات الملفات المفتوحة باستثناء الإدخال والإخراج والخطأ القياسي " "(أي واصفات الملفات الثلاثة الأولى 0 و1 و2)\\&. يضمن هذا عدم بقاء أي واصف " "ملفات مُرر عن طريق الخطأ في عملية الدايمون\\&. في لينكس، يُنفذ هذا بشكل أفضل " "من خلال التكرار عبر /proc/self/fd، مع خيار احتياطي للتكرار من واصف الملفات 3 " "إلى القيمة التي يعيدها B لـ B\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Reset all signal handlers to their default\\&. This is best done by " "iterating through the available signals up to the limit of B<_NSIG> and " "resetting them to B\\&." msgstr "" "أعد تعيين جميع معالجات الإشارات إلى حالتها المبدئية\\&. يُنفذ هذا بشكل أفضل " "من خلال التكرار عبر الإشارات المتاحة حتى حد B<_NSIG> وإعادة تعيينها إلى " "B\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Reset the signal mask using B\\&." msgstr "أعد تعيين قناع الإشارة باستخدام B\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Sanitize the environment block, removing or resetting environment variables " "that might negatively impact daemon runtime\\&." msgstr "" "عقم كتلة البيئة، بإزالة أو إعادة تعيين متغيرات البيئة التي قد تؤثر سلبًا على " "وقت تشغيل الدايمون\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Call B, to create a background process\\&." msgstr "استدع B، لإنشاء عملية خلفية\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In the child, call B to detach from any terminal and create an " "independent session\\&." msgstr "" "في العملية الابنة، استدع B للانفصال عن أي طرفية وإنشاء جلسة " "مستقلة\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In the child, call B again, to ensure that the daemon can never re-" "acquire a terminal again\\&. (This is relevant if the program \\(em and all " "its dependencies \\(em does not carefully specify `O_NOCTTY` on each and " "every single `open()` call that might potentially open a TTY device node\\&.)" msgstr "" "في العملية الابنة، استدع B مرة أخرى، لضمان أن الدايمون لا يمكنه أبدًا " "إعادة اكتساب طرفية مرة أخرى\\&. (هذا ذو صلة إذا كان البرنامج \\(em وجميع " "تبعياته \\(em لا يحدد بعناية `O_NOCTTY` في كل استدعاء `open()` قد يفتح عقدة " "جهاز TTY\\&.)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Call B in the first child, so that only the second child (the actual " "daemon process) stays around\\&. This ensures that the daemon process is re-" "parented to init/PID 1, as all daemons should be\\&." msgstr "" "استدع B في العملية الابنة الأولى، بحيث تبقى فقط العملية الابنة " "الثانية (عملية الدايمون الفعلية)\\&. يضمن هذا إعادة تبعية عملية الدايمون إلى " "init/PID 1، كما ينبغي لجميع الدايمونات\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In the daemon process, connect /dev/null to standard input, output, and " "error\\&." msgstr "في عملية الدايمون، اربط /dev/null بالإدخال والإخراج والخطأ القياسي\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In the daemon process, reset the umask to 0, so that the file modes passed " "to B, B and suchlike directly control the access mode of " "the created files and directories\\&." msgstr "" "في عملية الدايمون، أعد تعيين umask إلى 0، بحيث تتحكم أوضاع الملفات الممررة " "إلى B وB وما شابه مباشرة في وضع الوصول للملفات والأدلة " "المنشأة\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In the daemon process, change the current directory to the root directory " "(/), in order to avoid that the daemon involuntarily blocks mount points " "from being unmounted\\&." msgstr "" "في عملية الدايمون، غير الدليل الحالي إلى الدليل الجذر (/)، لتجنب أن يمنع " "الدايمون نقاط الوصل من الفصل بشكل غير إرادي\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In the daemon process, write the daemon PID (as returned by B) to " "a PID file, for example /run/foobar\\&.pid (for a hypothetical daemon " "\"foobar\") to ensure that the daemon cannot be started more than once\\&. " "This must be implemented in race-free fashion so that the PID file is only " "updated when it is verified at the same time that the PID previously stored " "in the PID file no longer exists or belongs to a foreign process\\&." msgstr "" "في عملية الدايمون، اكتب PID الدايمون (كما يعيده B) إلى ملف PID، " "على سبيل المثال /run/foobar\\&.pid (لدايمون افتراضي \"foobar\") لضمان عدم " "بدء الدايمون أكثر من مرة\\&. يجب تنفيذ هذا بطريقة خالية من السباق بحيث يُحدث " "ملف PID فقط عندما يُتحقق في نفس الوقت من أن PID المخزن سابقًا في ملف PID لم " "يعد موجودًا أو ينتمي إلى عملية أجنبية\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "In the daemon process, drop privileges, if possible and applicable\\&." msgstr "في عملية الدايمون، أسقط الامتيازات، إذا كان ذلك ممكنًا ومناسبًا\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "From the daemon process, notify the original process started that " "initialization is complete\\&. This can be implemented via an unnamed pipe " "or similar communication channel that is created before the first B " "and hence available in both the original and the daemon process\\&." msgstr "" "من عملية الدايمون، أبلغ العملية الأصلية التي بدأت أن التهيئة اكتملت\\&. يمكن " "تنفيذ هذا عبر أنبوب غير مسمى أو قناة اتصال مماثلة تُنشأ قبل أول B " "وبالتالي تكون متاحة في كل من العملية الأصلية وعملية الدايمون\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Call B in the original process\\&. The process that invoked the " "daemon must be able to rely on that this B happens after " "initialization is complete and all external communication channels are " "established and accessible\\&." msgstr "" "استدع B في العملية الأصلية\\&. يجب أن تكون العملية التي استدعت " "الدايمون قادرة على الاعتماد على أن هذا B يحدث بعد اكتمال التهيئة " "وإنشاء جميع قنوات الاتصال الخارجية وجعلها قابلة للوصول\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The BSD B function should not be used, as it implements only a " "subset of these steps\\&." msgstr "" "لا ينبغي استخدام دالة BSD B، لأنها تنفذ فقط مجموعة فرعية من هذه " "الخطوات\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A daemon that needs to provide compatibility with SysV systems should " "implement the scheme pointed out above\\&. However, it is recommended to " "make this behavior optional and configurable via a command line argument to " "ease debugging as well as to simplify integration into systems using " "systemd\\&." msgstr "" "الدايمون الذي يحتاج إلى توفير التوافق مع أنظمة SysV يجب أن ينفذ المخطط " "المشار إليه أعلاه\\&. ومع ذلك، يُوصى بجعل هذا السلوك اختياريًا وقابلًا للتكوين " "عبر وسيط سطر أوامر لتسهيل التنقيح وكذلك لتبسيط التكامل في الأنظمة التي " "تستخدم systemd\\&." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "New-Style Daemons" msgstr "دايمونات النمط الجديد" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Modern services for Linux should be implemented as new-style daemons\\&. " "This makes it easier to supervise and control them at runtime and simplifies " "their implementation\\&." msgstr "" "يجب تنفيذ الخدمات الحديثة للينكس كدايمونات ذات نمط جديد\\&. هذا يجعل الإشراف " "عليها والتحكم بها في وقت التشغيل أسهل ويبسط تنفيذها\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For developing a new-style daemon, none of the initialization steps " "recommended for SysV daemons need to be implemented\\&. New-style init " "systems such as systemd make all of them redundant\\&. Moreover, since some " "of these steps interfere with process monitoring, file descriptor passing, " "and other functionality of the service manager, it is recommended not to " "execute them when run as new-style service\\&." msgstr "" "لتطوير دايمون ذي نمط جديد، لا حاجة لتنفيذ أي من خطوات التهيئة الموصى بها " "لدايمونات SysV\\&. أنظمة init ذات النمط الجديد مثل systemd تجعلها جميعًا " "زائدة عن الحاجة\\&. علاوة على ذلك، نظرًا لأن بعض هذه الخطوات تتداخل مع مراقبة " "العملية وتمرير واصف الملفات ووظائف أخرى لمدير الخدمة، يُوصى بعدم تنفيذها عند " "التشغيل كخدمة ذات نمط جديد\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Note that new-style init systems guarantee execution of daemon processes in " "a clean process context: it is guaranteed that the environment block is " "sanitized, that the signal handlers and mask is reset and that no left-over " "file descriptors are passed\\&. Daemons will be executed in their own " "session, with standard input connected to /dev/null and standard output/" "error connected to the B(8) logging service, " "unless otherwise configured\\&. The umask is reset\\&." msgstr "" "لاحظ أن أنظمة التهيئة ذات النمط الجديد تضمن تنفيذ عمليات الدايمون في سياق " "عملية نظيف: يُضمن تعقيم كتلة البيئة، وإعادة تعيين معالجات الإشارات والقناع، " "وعدم تمرير واصفات ملفات متبقية\\&. ستُنفذ الدايمونات في جلسة خاصة بها، مع " "توصيل الإدخال القياسي بـ /dev/null والإخراج/الخطأ القياسي بخدمة التسجيل " "B(8)، ما لم يُهيأ خلاف ذلك\\&. كما يُعاد تعيين " "umask\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "It is recommended for new-style daemons to implement the following:" msgstr "يُوصى للدايمونات ذات النمط الجديد بتنفيذ ما يلي:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If applicable, the daemon should notify the service manager about startup " "completion or status updates via the B(3) interface, in " "particular I and I\\&." msgstr "" "إذا كان ذلك مناسبًا، يجب على الدايمون إخطار مدير الخدمة باكتمال بدء التشغيل " "أو تحديثات الحالة عبر واجهة B(3)، خاصة I و " "I\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If B is received, shut down the daemon and exit cleanly\\&. A " "I notification should be sent via B(3)\\&." msgstr "" "إذا استُلمت B، فأوقف الدايمون واخرج بشكل نظيف\\&. يجب إرسال إشعار " "I عبر B(3)\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If B is received, reload the configuration files, if this " "applies\\&. This should be combined with notifications via B(3): " "I and I\\&." msgstr "" "إذا استُلمت B، فأعد تحميل ملفات التهيئة، إذا كان ذلك مناسبًا\\&. يجب " "دمج هذا مع الإشعارات عبر B(3): I و I\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Provide a correct exit code from the main daemon process, as this is used by " "the service manager to detect service errors and problems\\&. It is " "recommended to follow the exit code scheme as defined in the \\m[blue]B\\m[]\\&\\s-2\\u[1]\\d\\s+2\\&." msgstr "" "قدم رمز خروج صحيح من عملية الدايمون الرئيسة، حيث يُستخدم هذا من قبل مدير " "الخدمة لاكتشاف أخطاء الخدمة ومشاكلها\\&. يوصى باتباع مخطط رمز الخروج كما هو " "معرف في \\m[blue]B<توصيات LSB لنصوص تهيئة " "SysV>\\m[]\\&\\s-2\\u[1]\\d\\s+2\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If possible and applicable, expose the daemon\\*(Aqs control interface via " "the D-Bus IPC system and grab a bus name as last step of initialization\\&." msgstr "" "إذا كان ذلك ممكنًا ومناسبًا، اكشف واجهة التحكم في الدايمون عبر نظام D-Bus IPC " "واحصل على اسم ناقل كخطوة أخيرة من التهيئة\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For integration in systemd, provide a \\&.service unit file that carries " "information about starting, stopping and otherwise maintaining the " "daemon\\&. See B(5) for details\\&." msgstr "" "للتكامل في systemd، قدم ملف وحدة \\&.service يحمل معلومات حول بدء وإيقاف " "وصيانة الدايمون\\&. انظر B(5) للتفاصيل\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "As much as possible, rely on the service manager\\*(Aqs functionality to " "limit the access of the daemon to files, services, and other resources, i\\&." "e\\&. in the case of systemd, rely on systemd\\*(Aqs resource limit control " "instead of implementing your own, rely on systemd\\*(Aqs privilege dropping " "code instead of implementing it in the daemon, and so on\\&. See B(5) for the available controls\\&." msgstr "" "اعتمد قدر الإمكان على وظائف مدير الخدمة لتقييد وصول الدايمون إلى الملفات " "والخدمات والموارد الأخرى، أي في حالة systemd، اعتمد على التحكم في حدود " "الموارد الخاص بـ systemd بدلاً من تنفيذ حدودك الخاصة، واعتمد على كود إسقاط " "الامتيازات الخاص بـ systemd بدلاً من تنفيذه في الدايمون، وهكذا\\&. انظر " "B(5) لعناصر التحكم المتاحة\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If D-Bus is used, make your daemon bus-activatable by supplying a D-Bus " "service activation configuration file\\&. This has multiple advantages: your " "daemon may be started lazily on-demand; it may be started in parallel to " "other daemons requiring it \\(em which maximizes parallelization and boot-up " "speed; your daemon can be restarted on failure without losing any bus " "requests, as the bus queues requests for activatable services\\&. See below " "for details\\&." msgstr "" "إذا استُخدم D-Bus، فاجعل الدايمون الخاص بك قابلاً للتفعيل عبر الناقل بتوفير " "ملف تهيئة تفعيل خدمة D-Bus\\&. هذا له مزايا متعددة: يمكن بدء الدايمون الخاص " "بك بشكل كسول عند الطلب؛ كما يمكن بدؤه بالتوازي مع دايمونات أخرى تحتاجه \\(em " "مما يعظم التوازي وسرعة الإقلاع؛ ويمكن إعادة تشغيل الدايمون عند الفشل دون " "فقدان أي طلبات ناقل، حيث يقوم الناقل بصف الطلبات للخدمات القابلة للتفعيل\\&. " "انظر أدناه للتفاصيل\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If your daemon provides services to other local processes or remote clients " "via a socket, it should be made socket-activatable following the scheme " "pointed out below\\&. Like D-Bus activation, this enables on-demand starting " "of services as well as it allows improved parallelization of service start-" "up\\&. Also, for state-less protocols (such as syslog, DNS), a daemon " "implementing socket-based activation can be restarted without losing a " "single request\\&. See below for details\\&." msgstr "" "إذا كان الدايمون يوفر خدمات لعمليات محلية أخرى أو عملاء بعيدين عبر مقبس، " "فيجب جعله قابلاً للتفعيل عبر المقبس باتباع المخطط الموضح أدناه\\&. مثل تفعيل " "D-Bus، يُمكّن هذا من بدء الخدمات عند الطلب ويسمح بتحسين توازي بدء الخدمات\\&. " "أيضًا، للبروتوكولات عديمة الحالة (مثل syslog، DNS)، يمكن إعادة تشغيل دايمون " "ينفذ التفعيل القائم على المقبس دون فقدان أي طلب\\&. انظر أدناه للتفاصيل\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If the service opens sockets or other files on it own, and those file " "descriptors shall survive a restart, the daemon should store them in the " "service manager via B(3) with I\\&." msgstr "" "إذا فتحت الخدمة مقابس أو ملفات أخرى بنفسها، وكان يجب أن تبقى واصفات الملفات " "تلك بعد إعادة التشغيل، فيجب على الدايمون تخزينها في مدير الخدمة عبر " "B(3) مع I\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Instead of using the B call to log directly to the system syslog " "service, a new-style daemon may choose to simply log to standard error via " "B, which is then forwarded to syslog\\&. If log levels are " "necessary, these can be encoded by prefixing individual log lines with " "strings like \"E4E\" (for log level 4 \"WARNING\" in the syslog " "priority scheme), following a similar style as the Linux kernel\\*(Aqs " "B level system\\&. For details, see B(3) and B(5)\\&." msgstr "" "بدلاً من استخدام استدعاء B للتسجيل مباشرة في خدمة syslog للنظام، قد " "يختار دايمون ذو نمط جديد التسجيل ببساطة إلى الخطأ القياسي عبر B، " "والذي يُوجه بعد ذلك إلى syslog\\&. إذا كانت مستويات التسجيل ضرورية، فيمكن " "ترميزها بإضافة بادئات لأسطر التسجيل الفردية بسلاسل مثل " "\"E4E\" (لمستوى التسجيل 4 \"WARNING\" في مخطط أولوية syslog)، باتباع " "نمط مشابه لنظام مستوى B في نواة لينكس\\&. للتفاصيل، انظر B(3) و B(5)\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "As new-style daemons are invoked without a controlling TTY (but as their own " "session leaders) care should be taken to always specify B on " "B(2) calls that possibly reference a TTY device node, so that no " "controlling TTY is accidentally acquired\\&." msgstr "" "بما أن الدايمونات ذات النمط الجديد تُستدعى بدون TTY تحكم (ولكن كقادة جلسات " "خاصة بهم)، فيجب توخي الحذر لتحديد B دائمًا في استدعاءات B(2) " "التي قد تشير إلى عقدة جهاز TTY، بحيث لا يُستحوذ على TTY تحكم عن طريق الخطأ\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "These recommendations are similar but not identical to the \\m[blue]B\\m[]\\&\\s-2\\u[2]\\d\\s+2\\&." msgstr "" "تتشابه هذه التوصيات ولكنها ليست مطابقة لـ \\m[blue]B<متطلبات دايمون Apple " "MacOS X>\\m[]\\&\\s-2\\u[2]\\d\\s+2\\&." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "ACTIVATION" msgstr "التفعيل" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "New-style init systems provide multiple additional mechanisms to activate " "services, as detailed below\\&. It is common that services are configured to " "be activated via more than one mechanism at the same time\\&. An example for " "systemd: bluetoothd\\&.service might get activated either when Bluetooth " "hardware is plugged in, or when an application accesses its programming " "interfaces via D-Bus\\&. Or, a print server daemon might get activated when " "traffic arrives at an IPP port, or when a printer is plugged in, or when a " "file is queued in the printer spool directory\\&. Even for services that are " "intended to be started on system bootup unconditionally, it is a good idea " "to implement some of the various activation schemes outlined below, in order " "to maximize parallelization\\&. If a daemon implements a D-Bus service or " "listening socket, implementing the full bus and socket activation scheme " "allows starting of the daemon with its clients in parallel (which speeds up " "boot-up), since all its communication channels are established already, and " "no request is lost because client requests will be queued by the bus system " "(in case of D-Bus) or the kernel (in case of sockets) until the activation " "is completed\\&." msgstr "" "توفر أنظمة التهيئة ذات النمط الجديد آليات إضافية متعددة لتفعيل الخدمات، كما " "هو مفصل أدناه\\&. من الشائع أن تُهيأ الخدمات ليتم تفعيلها عبر أكثر من آلية في " "نفس الوقت\\&. مثال لـ systemd: قد يتم تفعيل bluetoothd\\&.service إما عند " "توصيل أجهزة بلوتوث، أو عند وصول تطبيق إلى واجهات برمجته عبر D-Bus\\&. أو، قد " "يتم تفعيل دايمون خادم طباعة عند وصول حركة مرور إلى منفذ IPP، أو عند توصيل " "طابعة، أو عند وضع ملف في قائمة انتظار دليل الطباعة\\&. حتى للخدمات التي " "يُعتزم بدؤها عند إقلاع النظام دون شروط، من الجيد تنفيذ بعض مخططات التفعيل " "المختلفة الموضحة أدناه، لتعظيم التوازي\\&. إذا نفذ دايمون خدمة D-Bus أو مقبس " "استماع، فإن تنفيذ مخطط التفعيل الكامل للناقل والمقبس يسمح ببدء الدايمون مع " "عملائه بالتوازي (مما يسرع الإقلاع)، بما أن جميع قنوات الاتصال الخاصة به قد " "أُنشئت بالفعل، ولا يُفقد أي طلب لأن طلبات العميل ستُصطف بواسطة نظام الناقل (في " "حالة D-Bus) أو النواة (في حالة المقابس) حتى اكتمال التفعيل\\&." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Activation on Boot" msgstr "التفعيل عند الإقلاع" #. type: Plain text #: archlinux debian-unstable fedora-rawhide opensuse-tumbleweed msgid "" "Old-style daemons are usually activated exclusively on boot (and manually by " "the administrator) via SysV init scripts, as detailed in the \\m[blue]B\\m[]\\&\\s-2\\u[1]\\d\\s+2\\&. Among " "other issues, SysV init scripts have the disadvantage of involving shell " "scripts in the boot process\\&. Support for init scripts has been phased out " "in modern Linux init systems, and should not be relied upon\\&. New-style " "init systems generally use updated versions of activation, both during boot-" "up and during runtime and using more minimal service description files\\&." msgstr "" "عادة ما يتم تفعيل الدايمونات القديمة حصريًا عند الإقلاع (ويدويًا بواسطة " "المسؤول) عبر نصوص تهيئة SysV، كما هو مفصل في \\m[blue]B<مواصفات LSB الأساسية " "لنظام لينكس القياسي>\\m[]\\&\\s-2\\u[1]\\d\\s+2\\&. من بين مشكلات أخرى، نصوص " "تهيئة SysV لها عيب إشراك نصوص صدفة في عملية الإقلاع\\&. تم إلغاء دعم نصوص " "التهيئة تدريجيًا في أنظمة لينكس الحديثة، ولا ينبغي الاعتماد عليها\\&. تستخدم " "أنظمة التهيئة ذات النمط الجديد بشكل عام إصدارات محدثة من التفعيل، سواء أثناء " "الإقلاع أو أثناء وقت التشغيل، وباستخدام ملفات وصف خدمة أكثر بساطة\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In systemd, if the developer or administrator wants to make sure that a " "service or other unit is activated automatically on boot, it is recommended " "to place a symlink to the unit file in the \\&.wants/ directory of either " "multi-user\\&.target or graphical\\&.target, which are normally used as boot " "targets at system startup\\&. See B(5) for details about the " "\\&.wants/ directories, and B(7) for details about the two " "boot targets\\&." msgstr "" "في systemd، إذا أراد المطور أو المسؤول التأكد من تفعيل خدمة أو وحدة أخرى " "آليًا عند الإقلاع، يوصى بوضع رابط رمزي لملف الوحدة في دليل \\&.wants/ الخاص " "بـ multi-user\\&.target أو graphical\\&.target، واللذين يُستخدمان عادة كأهداف " "إقلاع عند بدء النظام\\&. انظر B(5) للتفاصيل حول أدلة \\&." "wants/، و B(7) للتفاصيل حول هدفي الإقلاع\\&." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Socket-Based Activation" msgstr "التفعيل القائم على المقبس" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In order to maximize the possible parallelization and robustness and " "simplify configuration and development, it is recommended for all new-style " "daemons that communicate via listening sockets to use socket-based " "activation\\&. In a socket-based activation scheme, the creation and binding " "of the listening socket as primary communication channel of daemons to local " "(and sometimes remote) clients is moved out of the daemon code and into the " "service manager\\&. Based on per-daemon configuration, the service manager " "installs the sockets and then hands them off to the spawned process as soon " "as the respective daemon is to be started\\&. Optionally, activation of the " "service can be delayed until the first inbound traffic arrives at the socket " "to implement on-demand activation of daemons\\&. However, the primary " "advantage of this scheme is that all providers and all consumers of the " "sockets can be started in parallel as soon as all sockets are " "established\\&. In addition to that, daemons can be restarted with losing " "only a minimal number of client transactions, or even any client request at " "all (the latter is particularly true for state-less protocols, such as DNS " "or syslog), because the socket stays bound and accessible during the " "restart, and all requests are queued while the daemon cannot process them\\&." msgstr "" "من أجل تعظيم التوازي والمتانة الممكنة وتبسيط التهيئة والتطوير، يُوصى لجميع " "الدايمونات ذات النمط الجديد التي تتصل عبر مقابس استماع باستخدام التفعيل " "القائم على المقبس\\&. في مخطط التفعيل القائم على المقبس، يُنقل إنشاء وربط " "مقبس الاستماع كقناة اتصال رئيسة للدايمونات إلى العملاء المحليين (وأحيانًا " "البعيدين) من كود الدايمون إلى مدير الخدمة\\&. بناءً على تهيئة كل دايمون، يثبت " "مدير الخدمة المقابس ثم يسلمها إلى العملية المولدة بمجرد بدء تشغيل الدايمون " "المعني\\&. اختياريًا، يمكن تأخير تفعيل الخدمة حتى وصول أول حركة مرور واردة " "إلى المقبس لتنفيذ التفعيل عند الطلب للدايمونات\\&. ومع ذلك، فإن الميزة " "الرئيسة لهذا المخطط هي أنه يمكن بدء جميع مزودي ومستهلكي المقابس بالتوازي " "بمجرد إنشاء جميع المقابس\\&. بالإضافة إلى ذلك، يمكن إعادة تشغيل الدايمونات " "مع فقدان الحد الأدنى فقط من معاملات العميل، أو حتى عدم فقدان أي طلب عميل على " "الإطلاق (الأخير ينطبق بشكل خاص على البروتوكولات عديمة الحالة، مثل DNS أو " "syslog)، لأن المقبس يبقى مربوطًا وقابلاً للوصول أثناء إعادة التشغيل، وتُصف جميع " "الطلبات بينما لا يستطيع الدايمون معالجتها\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "New-style daemons which support socket activation must be able to receive " "their sockets from the service manager instead of creating and binding them " "themselves\\&. For details about the programming interfaces for this scheme " "provided by systemd, see B(3) and B(3)\\&. For " "details about porting existing daemons to socket-based activation, see " "below\\&. With minimal effort, it is possible to implement socket-based " "activation in addition to traditional internal socket creation in the same " "codebase in order to support both new-style and old-style init systems from " "the same daemon binary\\&." msgstr "" "يجب أن تكون الدايمونات ذات النمط الجديد التي تدعم تفعيل المقبس قادرة على " "استقبال مقابسهما من مدير الخدمة بدلاً من إنشائها وربطها بأنفسها\\&. للتفاصيل " "حول واجهات البرمجة لهذا المخطط التي يوفرها systemd، انظر B(3) " "و B(3)\\&. للتفاصيل حول نقل الدايمونات الموجودة إلى التفعيل " "القائم على المقبس، انظر أدناه\\&. بجهد ضئيل، يمكن تنفيذ التفعيل القائم على " "المقبس بالإضافة إلى إنشاء المقبس الداخلي التقليدي في نفس قاعدة الكود لدعم كل " "من أنظمة init ذات النمط الجديد والقديم من نفس ملف الدايمون الثنائي\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "systemd implements socket-based activation via \\&.socket units, which are " "described in B(5)\\&. When configuring socket units for " "socket-based activation, it is essential that all listening sockets are " "pulled in by the special target unit sockets\\&.target\\&. It is recommended " "to place a I directive in the [Install] section " "to automatically add such a dependency on installation of a socket unit\\&. " "Unless I is set, the necessary ordering dependencies " "are implicitly created for all socket units\\&. For more information about " "sockets\\&.target, see B(7)\\&. It is not necessary or " "recommended to place any additional dependencies on socket units (for " "example from multi-user\\&.target or suchlike) when one is installed in " "sockets\\&.target\\&." msgstr "" "ينفذ systemd التفعيل القائم على المقبس عبر وحدات \\&.socket، الموصوفة في " "B(5)\\&. عند تهيئة وحدات المقابس للتفعيل القائم على المقبس، " "من الضروري جلب جميع مقابس الاستماع بواسطة وحدة الهدف الخاصة sockets\\&." "target\\&. يوصى بوضع توجيه I في قسم [Install] " "لإضافة هذا الاعتماد آليًا عند تثبيت وحدة مقبس\\&. ما لم يُضبط " "I، يتم إنشاء تبعيات الترتيب اللازمة ضمنيًا لجميع " "وحدات المقابس\\&. لمزيد من المعلومات حول sockets\\&.target، انظر B(7)\\&. ليس من الضروري أو الموصى به وضع أي تبعيات إضافية على وحدات " "المقابس (على سبيل المثال من multi-user\\&.target أو ما شابه) عندما تكون " "مثبتة في sockets\\&.target\\&." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Bus-Based Activation" msgstr "التفعيل القائم على الناقل" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When the D-Bus IPC system is used for communication with clients, new-style " "daemons should use bus activation so that they are automatically activated " "when a client application accesses their IPC interfaces\\&. This is " "configured in D-Bus service files (not to be confused with systemd service " "unit files!)\\&. To ensure that D-Bus uses systemd to start-up and maintain " "the daemon, use the I directive in these service files to " "configure the matching systemd service for a D-Bus service\\&. e\\&.g\\&.: " "For a D-Bus service whose D-Bus activation file is named org\\&." "freedesktop\\&.RealtimeKit\\&.service, make sure to set " "I in that file to bind it to the " "systemd service rtkit-daemon\\&.service\\&. This is needed to make sure that " "the daemon is started in a race-free fashion when activated via multiple " "mechanisms simultaneously\\&." msgstr "" "عند استخدام نظام IPC الخاص بـ D-Bus للتواصل مع العملاء، ينبغي للبرامج الخفية " "ذات النمط الجديد استخدام تنشيط الناقل بحيث تُنشَّط آليًا عندما يصل تطبيق عميل " "إلى واجهات IPC الخاصة بها\\&. يُهيأ هذا في ملفات خدمة D-Bus (لا تخلط بينها " "وبين ملفات وحدات خدمة systemd!)\\&. لضمان استخدام D-Bus لـ systemd لبدء " "البرنامج الخفي وصيانته، استخدم التوجيه I في ملفات الخدمة " "هذه لتهيئة خدمة systemd المطابقة لخدمة D-Bus\\&. مثال: بالنسبة لخدمة D-Bus " "التي يكون ملف تنشيط D-Bus الخاص بها باسم org\\&.freedesktop\\&." "RealtimeKit\\&.service، تأكد من تعيين I في ذلك الملف لربطها بخدمة systemd rtkit-daemon\\&.service\\&. هذا " "ضروري لضمان بدء البرنامج الخفي بطريقة خالية من السباق عند تنشيطه عبر آليات " "متعددة في وقت واحد\\&." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Device-Based Activation" msgstr "التفعيل القائم على الجهاز" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Often, daemons that manage a particular type of hardware should be activated " "only when the hardware of the respective kind is plugged in or otherwise " "becomes available\\&. In a new-style init system, it is possible to bind " "activation to hardware plug/unplug events\\&. In systemd, kernel devices " "appearing in the sysfs/udev device tree can be exposed as units if they are " "tagged with the string \"systemd\"\\&. Like any other kind of unit, they may " "then pull in other units when activated (i\\&.e\\&. plugged in) and thus " "implement device-based activation\\&. systemd dependencies may be encoded in " "the udev database via the I property\\&. See B(5) for details\\&. Often, it is nicer to pull in services from " "devices only indirectly via dedicated targets\\&. Example: Instead of " "pulling in bluetoothd\\&.service from all the various bluetooth dongles and " "other hardware available, pull in bluetooth\\&.target from them and " "bluetoothd\\&.service from that target\\&. This provides for nicer " "abstraction and gives administrators the option to enable bluetoothd\\&." "service via controlling a bluetooth\\&.target\\&.wants/ symlink uniformly " "with a command like B of B(1) instead of manipulating " "the udev ruleset\\&." msgstr "" "غالبًا، ينبغي تنشيط البرامج الخفية التي تدير نوعًا معينًا من العتاد فقط عند " "توصيل العتاد من النوع المعني أو عند توفره بطريقة أخرى\\&. في نظام init ذي " "النمط الجديد، من الممكن ربط التنشيط بأحداث توصيل/فصل العتاد\\&. في systemd، " "يمكن عرض أجهزة النواة التي تظهر في شجرة أجهزة sysfs/udev كوحدات إذا كانت " "موسومة بالسلسلة \"systemd\"\\&. مثل أي نوع آخر من الوحدات، يمكنها بعد ذلك " "سحب وحدات أخرى عند تنشيطها (أي عند توصيلها) وبالتالي تنفيذ تنشيط مستند إلى " "الجهاز\\&. يمكن ترميز تبعيات systemd في قاعدة بيانات udev عبر الخاصية " "I\\&. انظر B(5) للتفاصيل\\&. غالبًا، من " "الأفضل سحب الخدمات من الأجهزة بشكل غير مباشر فقط عبر أهداف مخصصة\\&. مثال: " "بدلاً من سحب bluetoothd\\&.service من جميع أجهزة البلوتوث المختلفة والعتاد " "الآخر المتاح، اسحب bluetooth\\&.target منها و bluetoothd\\&.service من ذلك " "الهدف\\&. يوفر هذا تجريدًا أفضل ويعطي المسؤولين خيار تمكين bluetoothd\\&." "service عبر التحكم في رابط رمزي bluetooth\\&.target\\&.wants/ بشكل موحد بأمر " "مثل B من B(1) بدلاً من التلاعب بمجموعة قواعد udev\\&." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Path-Based Activation" msgstr "التفعيل القائم على المسار" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Often, runtime of daemons processing spool files or directories (such as a " "printing system) can be delayed until these file system objects change " "state, or become non-empty\\&. New-style init systems provide a way to bind " "service activation to file system changes\\&. systemd implements this scheme " "via path-based activation configured in \\&.path units, as outlined in " "B(5)\\&." msgstr "" "غالبًا، يمكن تأخير وقت تشغيل البرامج الخفية التي تعالج ملفات أو أدلة التخزين " "المؤقت (مثل نظام الطباعة) حتى تغير كائنات نظام الملفات هذه حالتها، أو تصبح " "غير فارغة\\&. توفر أنظمة init ذات النمط الجديد طريقة لربط تنشيط الخدمة " "بتغييرات نظام الملفات\\&. ينفذ systemd هذا المخطط عبر التنشيط المستند إلى " "المسار المُهيأ في وحدات \\&.path، كما هو موضح في B(5)\\&." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Timer-Based Activation" msgstr "التفعيل القائم على المؤقت" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Some daemons that implement clean-up jobs that are intended to be executed " "in regular intervals benefit from timer-based activation\\&. In systemd, " "this is implemented via \\&.timer units, as described in B(5)\\&." msgstr "" "تستفيد بعض البرامج الخفية التي تنفذ مهام تنظيف يُقصد تنفيذها على فترات منتظمة " "من التنشيط المستند إلى المؤقت\\&. في systemd، يُنفذ هذا عبر وحدات \\&.timer، " "كما هو موصوف في B(5)\\&." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Other Forms of Activation" msgstr "أشكال أخرى من التفعيل" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Other forms of activation have been suggested and implemented in some " "systems\\&. However, there are often simpler or better alternatives, or they " "can be put together of combinations of the schemes above\\&. Example: " "Sometimes, it appears useful to start daemons or \\&.socket units when a " "specific IP address is configured on a network interface, because network " "sockets shall be bound to the address\\&. However, an alternative to " "implement this is by utilizing the Linux B/B " "socket option, as accessible via I in systemd socket files " "(see B(5) for details)\\&. This option, when enabled, " "allows sockets to be bound to a non-local, not configured IP address, and " "hence allows bindings to a particular IP address before it actually becomes " "available, making such an explicit dependency to the configured address " "redundant\\&. Another often suggested trigger for service activation is low " "system load\\&. However, here too, a more convincing approach might be to " "make proper use of features of the operating system, in particular, the CPU " "or I/O scheduler of Linux\\&. Instead of scheduling jobs from userspace " "based on monitoring the OS scheduler, it is advisable to leave the " "scheduling of processes to the OS scheduler itself\\&. systemd provides fine-" "grained access to the CPU and I/O schedulers\\&. If a process executed by " "the service manager shall not negatively impact the amount of CPU or I/O " "bandwidth available to other processes, it should be configured with " "I and/or I\\&. Optionally, " "this may be combined with timer-based activation to schedule background jobs " "during runtime and with minimal impact on the system, and remove it from the " "boot phase itself\\&." msgstr "" "اقتُرحت أشكال أخرى من التنشيط ونُفذت في بعض الأنظمة\\&. ومع ذلك، غالبًا ما توجد " "بدائل أبسط أو أفضل، أو يمكن تجميعها من مجموعات المخططات أعلاه\\&. مثال: " "أحيانًا، يبدو من المفيد بدء البرامج الخفية أو وحدات \\&.socket عند تهيئة " "عنوان IP محدد على واجهة شبكة، لأن مقابس الشبكة ينبغي ربطها بالعنوان\\&. ومع " "ذلك، البديل لتنفيذ هذا هو استخدام خيار مقبس Linux B/" "B، كما هو متاح عبر I في ملفات مقبس systemd " "(انظر B(5) للتفاصيل)\\&. هذا الخيار، عند تمكينه، يسمح بربط " "المقابس بعنوان IP غير محلي وغير مهيأ، وبالتالي يسمح بالربط بعنوان IP معين " "قبل أن يصبح متاحًا فعليًا، مما يجعل هذا الاعتماد الصريح على العنوان المهيأ " "زائدًا\\&. المحفز الآخر المقترح غالبًا لتنشيط الخدمة هو انخفاض حمل النظام\\&. " "ومع ذلك، هنا أيضًا، قد يكون النهج الأكثر إقناعًا هو الاستخدام السليم لميزات " "نظام التشغيل، ولا سيما جدولة CPU أو I/O في Linux\\&. بدلاً من جدولة المهام من " "مساحة المستخدم بناءً على مراقبة جدولة نظام التشغيل، يُنصح بترك جدولة العمليات " "لجدولة نظام التشغيل نفسها\\&. يوفر systemd وصولًا دقيقًا إلى جداول CPU و I/" "O\\&. إذا كان من المفترض ألا تؤثر عملية ينفذها مدير الخدمة سلبًا على مقدار " "عرض النطاق الترددي لوحدة المعالجة المركزية أو الإدخال/الإخراج المتاح " "للعمليات الأخرى، فينبغي تهيئتها باستخدام I و/أو " "I\\&. اختياريًا، يمكن دمج هذا مع التنشيط المستند إلى " "المؤقت لجدولة مهام الخلفية أثناء وقت التشغيل وبأقل تأثير على النظام، " "وإزالتها من مرحلة الإقلاع نفسها\\&." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "INTEGRATION WITH SYSTEMD" msgstr "التكامل مع SYSTEMD" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Writing systemd Unit Files" msgstr "كتابة ملفات وحدات systemd" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When writing systemd unit files, it is recommended to consider the following " "suggestions:" msgstr "عند كتابة ملفات وحدات systemd، يُوصى بمراعاة الاقتراحات التالية:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If possible, do not use the I setting in service files\\&. But " "if you do, make sure to set the PID file path using I\\&. See " "B(5) for details\\&." msgstr "" "إذا أمكن، لا تستخدم الإعداد I في ملفات الخدمة\\&. ولكن إذا " "فعلت، تأكد من تعيين مسار ملف PID باستخدام I\\&. انظر B(5) للتفاصيل\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If your daemon registers a D-Bus name on the bus, make sure to use " "I in the service file if possible\\&." msgstr "" "إذا سجل برنامجك الخفي اسم D-Bus على الناقل، تأكد من استخدام I في " "ملف الخدمة إذا أمكن\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Make sure to set a good human-readable description string with " "I\\&." msgstr "" "تأكد من تعيين سلسلة وصف جيدة قابلة للقراءة البشرية باستخدام " "I\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Do not disable I, unless you really know what you do " "and your unit is involved in early boot or late system shutdown\\&." msgstr "" "لا تعطل I، إلا إذا كنت تعرف حقًا ما تفعل ووحدتك متورطة " "في الإقلاع المبكر أو إيقاف تشغيل النظام المتأخر\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Normally, little if any dependencies should need to be defined " "explicitly\\&. However, if you do configure explicit dependencies, only " "refer to unit names listed on B(7) or names introduced by " "your own package to keep the unit file operating system-independent\\&." msgstr "" "عادةً، لا ينبغي تعريف سوى القليل من التبعيات بشكل صريح\\&. ومع ذلك، إذا قمت " "بتهيئة تبعيات صريحة، فاشير فقط إلى أسماء الوحدات المدرجة في B(7) أو الأسماء التي قدمتها حزمتك الخاصة للحفاظ على استقلالية ملف " "الوحدة عن نظام التشغيل\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Make sure to include an [Install] section including installation information " "for the unit file\\&. See B(5) for details\\&. To activate " "your service on boot, make sure to add a I or " "I directive\\&. To activate your socket on " "boot, make sure to add I\\&. Usually, you also " "want to make sure that when your service is installed, your socket is " "installed too, hence add I in your service file foo\\&." "service, for a hypothetical program foo\\&." msgstr "" "تأكد من تضمين قسم [Install] يتضمن معلومات التثبيت لملف الوحدة\\&. انظر " "B(5) للتفاصيل\\&. لتنشيط خدمتك عند الإقلاع، تأكد من إضافة " "توجيه I أو I\\&. لتنشيط مقبسك عند الإقلاع، تأكد من إضافة I\\&. عادةً، تريد أيضًا التأكد من أنه عند تثبيت خدمتك، يُثبت مقبسك أيضًا، " "لذا أضف I في ملف الخدمة foo\\&.service، لبرنامج افتراضي " "foo\\&." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Installing systemd Service Files" msgstr "تثبيت ملفات خدمة systemd" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "At the build installation time (e\\&.g\\&. B during package " "build), packages are recommended to install their systemd unit files in the " "directory returned by B " "(for system services) or B " "(for user services)\\&. This will make the services available in the system " "on explicit request but not activate them automatically during boot\\&. " "Optionally, during package installation (e\\&.g\\&. B by the " "administrator), symlinks should be created in the systemd configuration " "directories via the B command of the B(1) tool to " "activate them automatically on boot\\&." msgstr "" "في وقت تثبيت البناء (مثل B أثناء بناء الحزمة)، يُوصى بأن تثبت " "الحزم ملفات وحدات systemd الخاصة بها في الدليل الذي يعيده B (للخدمات النظامية) أو B (للخدمات المستخدمة)\\&. هذا سيجعل " "الخدمات متاحة في النظام عند الطلب الصريح ولكن لن ينشطها آليًا أثناء " "الإقلاع\\&. اختياريًا، أثناء تثبيت الحزمة (مثل B من قبل المسؤول)، " "ينبغي إنشاء روابط رمزية في أدلة تهيئة systemd عبر أمر B من أداة " "B(1) لتنشيطها آليًا عند الإقلاع\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Packages using B(1) are recommended to use a configure script " "excerpt like the following to determine the unit installation path during " "source configuration:" msgstr "" "يُوصى بأن تستخدم الحزم التي تستخدم B(1) مقتطف سكريبت تهيئة مثل " "التالي لتحديد مسار تثبيت الوحدة أثناء تهيئة المصدر:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "PKG_PROG_PKG_CONFIG()\n" "AC_ARG_WITH([systemdsystemunitdir],\n" " [AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files])],,\n" " [with_systemdsystemunitdir=auto])\n" "AS_IF([test \"x$with_systemdsystemunitdir\" = \"xyes\" -o \"x$with_systemdsystemunitdir\" = \"xauto\"], [\n" " def_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)\n" msgstr "" "PKG_PROG_PKG_CONFIG()\n" "AC_ARG_WITH([systemdsystemunitdir],\n" " [AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files])],,\n" " [with_systemdsystemunitdir=auto])\n" "AS_IF([test \"x$with_systemdsystemunitdir\" = \"xyes\" -o \"x$with_systemdsystemunitdir\" = \"xauto\"], [\n" " def_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" " AS_IF([test \"x$def_systemdsystemunitdir\" = \"x\"],\n" " [AS_IF([test \"x$with_systemdsystemunitdir\" = \"xyes\"],\n" " [AC_MSG_ERROR([systemd support requested but pkg-config unable to query systemd package])])\n" " with_systemdsystemunitdir=no],\n" " [with_systemdsystemunitdir=\"$def_systemdsystemunitdir\"])])\n" "AS_IF([test \"x$with_systemdsystemunitdir\" != \"xno\"],\n" " [AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir])])\n" "AM_CONDITIONAL([HAVE_SYSTEMD], [test \"x$with_systemdsystemunitdir\" != \"xno\"])\n" msgstr "" " AS_IF([test \"x$def_systemdsystemunitdir\" = \"x\"],\n" " [AS_IF([test \"x$with_systemdsystemunitdir\" = \"xyes\"],\n" " [AC_MSG_ERROR([systemd support requested but pkg-config unable to query systemd package])])\n" " with_systemdsystemunitdir=no],\n" " [with_systemdsystemunitdir=\"$def_systemdsystemunitdir\"])])\n" "AS_IF([test \"x$with_systemdsystemunitdir\" != \"xno\"],\n" " [AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir])])\n" "AM_CONDITIONAL([HAVE_SYSTEMD], [test \"x$with_systemdsystemunitdir\" != \"xno\"])\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This snippet allows automatic installation of the unit files on systemd " "machines, and optionally allows their installation even on machines lacking " "systemd\\&. (Modification of this snippet for the user unit directory is " "left as an exercise for the reader\\&.)" msgstr "" "يتيح هذا المقتطف التثبيت التلقائي لملفات الوحدات على الأجهزة التي تعمل بنظام " "systemd، كما يتيح اختيارياً تثبيتها حتى على الأجهزة التي لا تعمل بنظام " "systemd\\&. (يُترك تعديل هذا المقتطف ليتناسب مع دليل وحدات المستخدم كتمرين " "للقارئ\\&.)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Additionally, to ensure that B continues to work, it is " "recommended to add the following to the top-level Makefile\\&.am file in " "B(1)-based projects:" msgstr "" "بالإضافة إلى ذلك، لضمان استمرار عمل B، يُنصح بإضافة ما يلي " "إلى ملف Makefile\\&.am في المستوى الأعلى في المشاريع القائمة على " "B(1):" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "AM_DISTCHECK_CONFIGURE_FLAGS = \\e\n" " --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir)\n" msgstr "" "AM_DISTCHECK_CONFIGURE_FLAGS = \\e\n" " --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir)\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Finally, unit files should be installed in the system with an automake " "excerpt like the following:" msgstr "" "أخيرًا، يجب تثبيت ملفات الوحدات في النظام باستخدام مقتطف أتوميك مثل التالي:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "if HAVE_SYSTEMD\n" "systemdsystemunit_DATA = \\e\n" " foobar\\&.socket \\e\n" " foobar\\&.service\n" "endif\n" msgstr "" "if HAVE_SYSTEMD\n" "systemdsystemunit_DATA = \\e\n" " foobar\\&.socket \\e\n" " foobar\\&.service\n" "endif\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In the B(8) \\&.spec file, use snippets like the following to enable/" "disable the service during installation/deinstallation\\&. This makes use of " "the RPM macros shipped along systemd\\&. Consult the packaging guidelines of " "your distribution for details and the equivalent for other package " "managers\\&." msgstr "" "في ملف B(8) \\&.spec، استخدم مقتطفات مثل التالية لتمكين/تعطيل الخدمة " "أثناء التثبيت/إلغاء التثبيت\\&. يستخدم هذا وحدات RPM المرفقة مع systemd\\&. " "راجع إرشادات التعبئة لتوزيعتك للحصول على التفاصيل والمكافئ لمديري الحزم " "الآخرين\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "At the top of the file:" msgstr "في أعلى الملف:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "BuildRequires: systemd\n" "%{?systemd_requires}\n" msgstr "" "BuildRequires: systemd\n" "%{?systemd_requires}\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "And as scriptlets, further down:" msgstr "وكبرامج نصية، في الأسفل:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "%post\n" "%systemd_post foobar\\&.service foobar\\&.socket\n" msgstr "" "%post\n" "%systemd_post foobar\\&.service foobar\\&.socket\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "%preun\n" "%systemd_preun foobar\\&.service foobar\\&.socket\n" msgstr "" "%preun\n" "%systemd_preun foobar\\&.service foobar\\&.socket\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "%postun\n" "%systemd_postun\n" msgstr "" "%postun\n" "%systemd_postun\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If the service shall be restarted during upgrades, replace the \"%postun\" " "scriptlet above with the following:" msgstr "" "إذا أُعيد تشغيل الخدمة أثناء الترقيات، استبدل البرنامج النصي \"%postun\" " "أعلاه بالتالي:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "%postun\n" "%systemd_postun_with_restart foobar\\&.service\n" msgstr "" "%postun\n" "%systemd_postun_with_restart foobar\\&.service\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Note that \"%systemd_post\" and \"%systemd_preun\" expect the names of all " "units that are installed/removed as arguments, separated by spaces\\&. " "\"%systemd_postun\" expects no arguments\\&. " "\"%systemd_postun_with_restart\" expects the units to restart as " "arguments\\&." msgstr "" "لاحظ أن \"%systemd_post\" و \"%systemd_preun\" تتوقعان أسماء جميع الوحدات " "المثبتة/المحذوفة كوسائط، مفصولة بمسافات\\&. \"%systemd_postun\" لا تتوقع " "وسائط\\&. \"%systemd_postun_with_restart\" تتوقع الوحدات المراد إعادة " "تشغيلها كوسائط\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "To facilitate upgrades from a package version that shipped only SysV init " "scripts to a package version that ships both a SysV init script and a native " "systemd service file, use a fragment like the following:" msgstr "" "لتسهيل الترقيات من إصدار حزمة شحن نصوص SysV init فقط إلى إصدار حزمة يشحن كلًا " "من نص SysV init وملف خدمة systemd أصلي، استخدم مقطعًا مثل التالي:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "%triggerun -- foobar E 0\\&.47\\&.11-1\n" "if /sbin/chkconfig --level 5 foobar ; then\n" " /bin/systemctl --no-reload enable foobar\\&.service foobar\\&.socket E/dev/null 2E&1 || :\n" "fi\n" msgstr "" "%triggerun -- foobar E 0\\&.47\\&.11-1\n" "if /sbin/chkconfig --level 5 foobar ; then\n" " /bin/systemctl --no-reload enable foobar\\&.service foobar\\&.socket E/dev/null 2E&1 || :\n" "fi\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Where 0\\&.47\\&.11-1 is the first package version that includes the native " "unit file\\&. This fragment will ensure that the first time the unit file is " "installed, it will be enabled if and only if the SysV init script is " "enabled, thus making sure that the enable status is not changed\\&. Note " "that B is a command specific to Fedora which can be used to check " "whether a SysV init script is enabled\\&. Other operating systems will have " "to use different commands here\\&." msgstr "" "حيث 0\\&.47\\&.11-1 هو أول إصدار حزمة يتضمن ملف الوحدة الأصلي\\&. سيضمن هذا " "المقطع أنه عند تثبيت ملف الوحدة لأول مرة، سيُمكن إذا وفقط إذا كان نص SysV " "init مُمكنًا، مما يضمن عدم تغيير حالة التمكين\\&. لاحظ أن B هو أمر " "خاص بـ Fedora يُستخدم للتحقق مما إذا كان نص SysV init مُمكنًا\\&. ستستخدم أنظمة " "التشغيل الأخرى أوامر مختلفة هنا\\&." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "PORTING EXISTING DAEMONS" msgstr "نقل الدايمونات الموجودة" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Since new-style init systems such as systemd are compatible with traditional " "SysV init systems, it is not strictly necessary to port existing daemons to " "the new style\\&. However, doing so offers additional functionality to the " "daemons as well as simplifying integration into new-style init systems\\&." msgstr "" "نظرًا لأن أنظمة init الحديثة مثل systemd متوافقة مع أنظمة SysV init " "التقليدية، فليس من الضروري نقل البرامج الخلفية الموجودة إلى النمط الجديد\\&. " "ومع ذلك، فإن القيام بذلك يوفر وظائف إضافية للبرامج الخلفية بالإضافة إلى " "تبسيط التكامل في أنظمة init الحديثة\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "To port an existing SysV compatible daemon, the following steps are " "recommended:" msgstr "لنقل برنامج خلفي موجود متوافق مع SysV، يُوصى بالخطوات التالية:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If not already implemented, add an optional command line switch to the " "daemon to disable daemonization\\&. This is useful not only for using the " "daemon in new-style init systems, but also to ease debugging\\&." msgstr "" "إذا لم يُنفذ بالفعل، أضف مفتاح سطر أوامر اختياريًا للبرنامج الخلفي لتعطيل " "التحول إلى برنامج خلفي\\&. هذا مفيد ليس فقط لاستخدام البرنامج الخلفي في " "أنظمة init الحديثة، ولكن أيضًا لتسهيل التصحيح\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If the daemon offers interfaces to other software running on the local " "system via local B sockets, consider implementing socket-based " "activation (see above)\\&. Usually, a minimal patch is sufficient to " "implement this: Extend the socket creation in the daemon code so that " "B(3) is checked for already passed sockets first\\&. If " "sockets are passed (i\\&.e\\&. when B returns a positive " "value), skip the socket creation step and use the passed sockets\\&. " "Secondly, ensure that the file system socket nodes for local B " "sockets used in the socket-based activation are not removed when the daemon " "shuts down, if sockets have been passed\\&. Third, if the daemon normally " "closes all remaining open file descriptors as part of its initialization, " "the sockets passed from the service manager must be spared\\&. Since new-" "style init systems guarantee that no left-over file descriptors are passed " "to executed processes, it might be a good choice to simply skip the closing " "of all remaining open file descriptors if sockets are passed\\&." msgstr "" "إذا كان البرنامج الخلفي يوفر واجهات لبرامج أخرى تعمل على النظام المحلي عبر " "مقابس B محلية، فكر في تنفيذ التنشيط القائم على المقبس (انظر " "أعلاه)\\&. عادةً، يكفي تصحيح بسيط لتنفيذ هذا: وسّع إنشاء المقبس في كود " "البرنامج الخلفي بحيث يُفحص B(3) للمقابس الممررة بالفعل " "أولاً\\&. إذا مُررت المقابس (أي عندما يُرجع B قيمة موجبة)، تخط " "خطوة إنشاء المقبس واستخدم المقابس الممررة\\&. ثانيًا، تأكد من عدم إزالة عقد " "مقبس نظام الملفات لمقابس B المحلية المستخدمة في التنشيط القائم على " "المقبس عند إيقاف تشغيل البرنامج الخلفي، إذا مُررت المقابس\\&. ثالثًا، إذا كان " "البرنامج الخلفي يغلق عادةً جميع واصفات الملفات المفتوحة المتبقية كجزء من " "تهيئته، فيجب تجنيب المقابس الممررة من مدير الخدمة\\&. نظرًا لأن أنظمة init " "الحديثة تضمن عدم تمرير واصفات ملفات متبقية إلى العمليات المنفذة، فقد يكون " "اختيارًا جيدًا تخطي إغلاق جميع واصفات الملفات المفتوحة المتبقية إذا مُررت " "المقابس\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Write and install a systemd unit file for the service (and the sockets if " "socket-based activation is used, as well as a path unit file, if the daemon " "processes a spool directory), see above for details\\&." msgstr "" "اكتب وقم بتثبيت ملف وحدة systemd للخدمة (والمقابس إذا استُخدم التنشيط القائم " "على المقبس، بالإضافة إلى ملف وحدة مسار، إذا كان البرنامج الخلفي يعالج دليل " "انتظار)، انظر أعلاه للتفاصيل\\&." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If the daemon exposes interfaces via D-Bus, write and install a D-Bus " "activation file for the service, see above for details\\&." msgstr "" "إذا كان البرنامج الخلفي يعرض واجهات عبر D-Bus، اكتب وقم بتثبيت ملف تنشيط D-" "Bus للخدمة، انظر أعلاه للتفاصيل\\&." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "PLACING DAEMON DATA" msgstr "وضع بيانات البرنامج الخلفي" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "It is recommended to follow the general guidelines for placing package " "files, as discussed in B(7)\\&." msgstr "" "يُوصى باتباع الإرشادات العامة لوضع ملفات الحزمة، كما نوقش في B(7)\\&." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NOTES" msgstr "ملاحظات" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "All example codes in this page are licensed under \"MIT No " "Attribution\" (SPDX-License-Identifier: MIT-0)\\&." msgstr "" "جميع أمثلة الأكواد في هذه الصفحة مرخصة بموجب \"MIT No Attribution\" (SPDX-" "License-Identifier: MIT-0)\\&." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "انظر أيضًا" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B(1), B(3), B(3), B(3), " "B(3), B(5), B(7)" msgstr "" "B(1)، B(3)، B(3)، B(3)، " "B(3)، B(5)، B(7)" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid " 1." msgstr " 1." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "LSB recommendations for SysV init scripts" msgstr "توصيات LSB لنصوص تهيئة SysV" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\%http://refspecs.linuxbase.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/" "iniscrptact.html" msgstr "" "\\%http://refspecs.linuxbase.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/" "iniscrptact.html" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid " 2." msgstr " 2." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Apple MacOS X Daemon Requirements" msgstr "متطلبات دايمون Apple MacOS X" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\%https://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/" "BPSystemStartup/Chapters/CreatingLaunchdJobs.html" msgstr "" "\\%https://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/" "BPSystemStartup/Chapters/CreatingLaunchdJobs.html" #. type: TH #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "systemd 257.13" msgstr "systemd 257.13" #. type: Plain text #: debian-trixie fedora-44 mageia-cauldron opensuse-leap-16-1 msgid "" "Old-style daemons are usually activated exclusively on boot (and manually by " "the administrator) via SysV init scripts, as detailed in the \\m[blue]B\\m[]\\&\\s-2\\u[1]\\d\\s+2\\&. This " "method of activation is supported ubiquitously on Linux init systems, both " "old-style and new-style systems\\&. Among other issues, SysV init scripts " "have the disadvantage of involving shell scripts in the boot process\\&. New-" "style init systems generally use updated versions of activation, both during " "boot-up and during runtime and using more minimal service description " "files\\&." msgstr "" "عادةً ما تُنشط الدايمونات القديمة حصريًا عند الإقلاع (ويدويًا بواسطة المسؤول) " "عبر نصوص تهيئة SysV، كما هو مفصل في \\m[blue]B<مواصفات LSB الأساسية لنظام " "لينكس القياسي>\\m[]\\&\\s-2\\u[1]\\d\\s+2\\&. طريقة التنشيط هذه مدعومة " "عالميًا في أنظمة تهيئة لينكس، سواء الأنظمة القديمة أو الجديدة\\&. من بين " "المشكلات الأخرى، تعاني نصوص تهيئة SysV من عيب إشراك نصوص صدفة في عملية " "الإقلاع\\&. تستخدم أنظمة التهيئة الجديدة عمومًا إصدارات محدثة من التنشيط، " "سواء أثناء الإقلاع أو أثناء وقت التشغيل وباستخدام ملفات وصف خدمة أكثر " "بساطة\\&." #. type: TH #: debian-unstable #, no-wrap msgid "systemd 261~rc3" msgstr "systemd 261~rc3" #. type: TH #: fedora-44 #, no-wrap msgid "systemd 259.5" msgstr "systemd 259.5" #. type: TH #: fedora-rawhide #, no-wrap msgid "systemd 261~rc2" msgstr "systemd 261~rc2" #. type: TH #: mageia-cauldron #, no-wrap msgid "systemd 258.7" msgstr "systemd 258.7" #. type: TH #: opensuse-tumbleweed #, no-wrap msgid "systemd 260.1" msgstr "systemd 260.1"