Translation components API.

See the Weblate's Web API documentation for detailed description of the API.

GET /api/translations/documentation/articlesrc-scripting_index/el/units/?format=api&page=2
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 177,
    "next": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/units/?format=api&page=3",
    "previous": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/units/?format=api",
    "results": [
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "start_cmd=\"${name}_start\"\nstop_cmd=\":\"\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 2955683217456919631,
            "content_hash": 2955683217456919631,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:249",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 51,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 2,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381745/?format=api",
            "priority": 100,
            "id": 1649661,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=a904b239f51a744f",
            "url": "https://translate-dev.freebsd.org/api/units/1649661/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.510758Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "load_rc_config $name <.>\n: ${dummy_enable:=no} <.>\n: ${dummy_msg=\"Nothing started.\"} <.>\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -7212635356219469608,
            "content_hash": -7212635356219469608,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:253",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 52,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 10,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381747/?format=api",
            "priority": 100,
            "id": 1649662,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=1be7925b921d90d8",
            "url": "https://translate-dev.freebsd.org/api/units/1649662/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.511394Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "dummy_start()\n{\n\techo \"$dummy_msg\" <.>\n}\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 5368516192840741007,
            "content_hash": 5368516192840741007,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:258",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 53,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 6,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381749/?format=api",
            "priority": 100,
            "id": 1649663,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=ca80cd08a534708f",
            "url": "https://translate-dev.freebsd.org/api/units/1649663/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.512031Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "run_rc_command \"$1\"\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 3567951377556941211,
            "content_hash": 3567951377556941211,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:260",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 54,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 2,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381751/?format=api",
            "priority": 100,
            "id": 1649664,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=b183e8dfc325a99b",
            "url": "https://translate-dev.freebsd.org/api/units/1649664/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.512656Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "What changed in this example?"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -2104992892649646798,
            "content_hash": -2104992892649646798,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:263",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 55,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 5,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381753/?format=api",
            "priority": 100,
            "id": 1649665,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=62c9901deae55532",
            "url": "https://translate-dev.freebsd.org/api/units/1649665/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.513290Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "&#10122; The variable `rcvar` specifies the name of the ON/OFF knob variable."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 496651994295815603,
            "content_hash": 496651994295815603,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:265",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 56,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 12,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381755/?format=api",
            "priority": 100,
            "id": 1649666,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=86e4765b80fdcdb3",
            "url": "https://translate-dev.freebsd.org/api/units/1649666/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.513897Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "&#10123; Now `load_rc_config` is invoked earlier in the script, before any man:rc.conf[5] variables are accessed."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -8771880043263535440,
            "content_hash": -8771880043263535440,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:267",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 57,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 15,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381757/?format=api",
            "priority": 100,
            "id": 1649667,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=0644059378f056b0",
            "url": "https://translate-dev.freebsd.org/api/units/1649667/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.514496Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "While examining [.filename]#rc.d# scripts, keep in mind that man:sh[1] defers the evaluation of expressions in a function until the latter is called.  Therefore it is not an error to invoke `load_rc_config` as late as just before `run_rc_command` and still access man:rc.conf[5] variables from the method functions exported to `run_rc_command`.  This is because the method functions are to be called by `run_rc_command`, which is invoked _after_ `load_rc_config`."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 4233901618529474697,
            "content_hash": 4233901618529474697,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:273",
            "context": "",
            "note": "type: delimited block = 4",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 58,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 66,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611654/?format=api",
            "priority": 100,
            "id": 1649668,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=bac1d71702669889",
            "url": "https://translate-dev.freebsd.org/api/units/1649668/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.515128Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "&#10124; A warning will be emitted by `run_rc_command` if `rcvar` itself is set, but the indicated knob variable is unset.  If your [.filename]#rc.d# script is for the base system, you should add a default setting for the knob to [.filename]#/etc/defaults/rc.conf# and document it in man:rc.conf[5].  Otherwise it is your script that should provide a default setting for the knob.  The canonical approach to the latter case is shown in the example."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -856836263315381427,
            "content_hash": -856836263315381427,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:279",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 59,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 71,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611656/?format=api",
            "priority": 100,
            "id": 1649669,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=741be7f54e69e34d",
            "url": "https://translate-dev.freebsd.org/api/units/1649669/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.515810Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "You can make man:rc.subr[8] act as though the knob is set to `ON`, irrespective of its current setting, by prefixing the argument to the script with `one` or `force`, as in `onestart` or `forcestop`.  Keep in mind though that `force` has other dangerous effects we will touch upon below, while `one` just overrides the ON/OFF knob.  E.g., assume that `dummy_enable` is `OFF`.  The following command will run the `start` method in spite of the setting:"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 2137394567639081328,
            "content_hash": 2137394567639081328,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:286",
            "context": "",
            "note": "type: delimited block = 4",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 60,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 75,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611658/?format=api",
            "priority": 100,
            "id": 1649670,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=9da98d08ecfa2170",
            "url": "https://translate-dev.freebsd.org/api/units/1649670/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.516479Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "# /etc/rc.d/dummy onestart\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 9101981481088273168,
            "content_hash": 9101981481088273168,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:290",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 61,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 3,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381765/?format=api",
            "priority": 100,
            "id": 1649671,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=fe50bbeec4734b10",
            "url": "https://translate-dev.freebsd.org/api/units/1649671/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.517195Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "&#10125; Now the message to be shown at boot time is no longer hard-coded in the script.  It is specified by an man:rc.conf[5] variable named `dummy_msg`.  This is a trivial example of how man:rc.conf[5] variables can control an [.filename]#rc.d# script."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -4114527790951083825,
            "content_hash": -4114527790951083825,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:297",
            "context": "",
            "note": "type: delimited block = 4",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 62,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 40,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611660/?format=api",
            "priority": 100,
            "id": 1649672,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=46e642c619e350cf",
            "url": "https://translate-dev.freebsd.org/api/units/1649672/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.517814Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "The names of all man:rc.conf[5] variables used exclusively by our script _must_ have the same prefix: `${name}_`.  For example: `dummy_mode`, `dummy_state_file`, and so on."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -6358360952876814111,
            "content_hash": -6358360952876814111,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:302",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 63,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 24,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611662/?format=api",
            "priority": 100,
            "id": 1649673,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=27c29066c21030e1",
            "url": "https://translate-dev.freebsd.org/api/units/1649673/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.518445Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "While it is possible to use a shorter name internally, e.g., just `msg`, adding the unique prefix `${name}_` to all global names introduced by our script will save us from possible collisions with the man:rc.subr[8] namespace."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -4713024967582227797,
            "content_hash": -4713024967582227797,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:307",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 64,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 36,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381771/?format=api",
            "priority": 100,
            "id": 1649674,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=3e97f8c33db6e2ab",
            "url": "https://translate-dev.freebsd.org/api/units/1649674/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.519078Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "As a rule, [.filename]#rc.d# scripts of the base system need not provide defaults for their man:rc.conf[5] variables because the defaults should be set in [.filename]#/etc/defaults/rc.conf# instead.  On the other hand, [.filename]#rc.d# scripts for ports should provide the defaults as shown in the example."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -6266388236322921747,
            "content_hash": -6266388236322921747,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:310",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 65,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 43,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611664/?format=api",
            "priority": 100,
            "id": 1649675,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=290951198d4922ed",
            "url": "https://translate-dev.freebsd.org/api/units/1649675/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.519715Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "&#10126; Here we use `dummy_msg` to actually control our script, i.e., to emit a variable message.  Use of a shell function is overkill here, since it only runs a single command; an equally valid alternative is:"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 5092710331220643991,
            "content_hash": 5092710331220643991,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:314",
            "context": "",
            "note": "type: delimited block = 4",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 66,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 36,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611666/?format=api",
            "priority": 100,
            "id": 1649676,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=c6acf1105c5e5097",
            "url": "https://translate-dev.freebsd.org/api/units/1649676/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.520335Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "start_cmd=\"echo \\\"$dummy_msg\\\"\"\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -4879638794249510958,
            "content_hash": -4879638794249510958,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:318",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 67,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 2,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381777/?format=api",
            "priority": 100,
            "id": 1649677,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=3c480a5ebc8adfd2",
            "url": "https://translate-dev.freebsd.org/api/units/1649677/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.521009Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "Startup and shutdown of a simple daemon"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -8444834757010602763,
            "content_hash": -8444834757010602763,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:321",
            "context": "",
            "note": "type: Title ==",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 68,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 7,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381779/?format=api",
            "priority": 100,
            "id": 1649678,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=0acdeb87f982c4f5",
            "url": "https://translate-dev.freebsd.org/api/units/1649678/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.521655Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "We said earlier that man:rc.subr[8] could provide default methods.  Obviously, such defaults cannot be too general.  They are suited for the common case of starting and shutting down a simple daemon program.  Let us assume now that we need to write an [.filename]#rc.d# script for such a daemon called `mumbled`.  Here it is:"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -102297669182269444,
            "content_hash": -102297669182269444,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:328",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 69,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 53,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611668/?format=api",
            "priority": 100,
            "id": 1649679,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=7e9490cfd70a57fc",
            "url": "https://translate-dev.freebsd.org/api/units/1649679/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.522253Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "name=mumbled\nrcvar=mumbled_enable\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 4515639132769989598,
            "content_hash": 4515639132769989598,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:337, documentation/content/en/articles/rc-scripting/_index.adoc:394, documentation/content/en/articles/rc-scripting/_index.adoc:631",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 70,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 2,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381783/?format=api",
            "priority": 100,
            "id": 1649680,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=beaac5ddca9bb3de",
            "url": "https://translate-dev.freebsd.org/api/units/1649680/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.522904Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "command=\"/usr/sbin/${name}\" <.>\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -3841581752012277924,
            "content_hash": -3841581752012277924,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:339",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 71,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 2,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381785/?format=api",
            "priority": 100,
            "id": 1649681,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=4aaff5c007af775c",
            "url": "https://translate-dev.freebsd.org/api/units/1649681/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.523559Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "load_rc_config $name\nrun_rc_command \"$1\"\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 6382436172851742169,
            "content_hash": 6382436172851742169,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:342, documentation/content/en/articles/rc-scripting/_index.adoc:440, documentation/content/en/articles/rc-scripting/_index.adoc:646",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 72,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 4,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381787/?format=api",
            "priority": 100,
            "id": 1649682,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=d892f7e2346e85d9",
            "url": "https://translate-dev.freebsd.org/api/units/1649682/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.524183Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "Pleasingly simple, isn't it? Let us examine our little script.  The only new thing to note is as follows:"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 1974913651866216342,
            "content_hash": 1974913651866216342,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:346",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 73,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 19,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611670/?format=api",
            "priority": 100,
            "id": 1649683,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=9b684d80b98e2796",
            "url": "https://translate-dev.freebsd.org/api/units/1649683/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.524835Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "&#10122; The `command` variable is meaningful to man:rc.subr[8].  If it is set, man:rc.subr[8] will act according to the scenario of serving a conventional daemon.  In particular, the default methods will be provided for such arguments: `start`, `stop`, `restart`, `poll`, and `status`."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 4016835583505088507,
            "content_hash": 4016835583505088507,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:350",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 74,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 41,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611672/?format=api",
            "priority": 100,
            "id": 1649684,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=b7beaaae5bf83ffb",
            "url": "https://translate-dev.freebsd.org/api/units/1649684/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.525471Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "The daemon will be started by running `$command` with command-line flags specified by `$mumbled_flags`.  Thus all the input data for the default `start` method are available in the variables set by our script.  Unlike `start`, other methods may require additional information about the process started.  For instance, `stop` must know the PID of the process to terminate it.  In the present case, man:rc.subr[8] will scan through the list of all processes, looking for a process with its name equal to `procname`.  The latter is another variable of meaning to man:rc.subr[8], and its value defaults to that of `command`.  In other words, when we set `command`, `procname` is effectively set to the same value.  This enables our script to kill the daemon and to check if it is running in the first place."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 5724626787326806927,
            "content_hash": 5724626787326806927,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:359",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 75,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 132,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611674/?format=api",
            "priority": 100,
            "id": 1649685,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=cf71f5bb924ccb8f",
            "url": "https://translate-dev.freebsd.org/api/units/1649685/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.526127Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "Some programs are in fact executable scripts.  The system runs such a script by starting its interpreter and passing the name of the script to it as a command-line argument.  This is reflected in the list of processes, which can confuse man:rc.subr[8].  You should additionally set `command_interpreter` to let man:rc.subr[8] know the actual name of the process if `$command` is a script."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 2935602006806855500,
            "content_hash": 2935602006806855500,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:366",
            "context": "",
            "note": "type: delimited block = 4",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 76,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 62,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611676/?format=api",
            "priority": 100,
            "id": 1649686,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=a8bd5a78c1a57f4c",
            "url": "https://translate-dev.freebsd.org/api/units/1649686/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.526835Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "For each [.filename]#rc.d# script, there is an optional man:rc.conf[5] variable that takes precedence over `command`.  Its name is constructed as follows: `${name}_program`, where `name` is the mandatory variable we discussed <<name-var, earlier>>.  E.g., in this case it will be `mumbled_program`.  It is man:rc.subr[8] that arranges `${name}_program` to override `command`."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 4909219808122753901,
            "content_hash": 4909219808122753901,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:371",
            "context": "",
            "note": "type: delimited block = 4",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 77,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 49,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611678/?format=api",
            "priority": 100,
            "id": 1649687,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=c4210d67c377d36d",
            "url": "https://translate-dev.freebsd.org/api/units/1649687/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.527498Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "Of course, man:sh[1] will permit you to set `${name}_program` from man:rc.conf[5] or the script itself even if `command` is unset.  In that case, the special properties of `${name}_program` are lost, and it becomes an ordinary variable your script can use for its own purposes.  However, the sole use of `${name}_program` is discouraged because using it together with `command` became an idiom of [.filename]#rc.d# scripting."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -7473704153715555564,
            "content_hash": -7473704153715555564,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:375",
            "context": "",
            "note": "type: delimited block = 4",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 78,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 64,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611680/?format=api",
            "priority": 100,
            "id": 1649688,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=184811ab696c4314",
            "url": "https://translate-dev.freebsd.org/api/units/1649688/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.528202Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "For more detailed information on default methods, refer to man:rc.subr[8]."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 2327000880037653551,
            "content_hash": 2327000880037653551,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:378",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 79,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 10,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381801/?format=api",
            "priority": 100,
            "id": 1649689,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=a04b2af8aeaa6c2f",
            "url": "https://translate-dev.freebsd.org/api/units/1649689/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.528879Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "Startup and shutdown of an advanced daemon"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 3818684683030145373,
            "content_hash": 3818684683030145373,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:380",
            "context": "",
            "note": "type: Title ==",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 80,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 7,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381803/?format=api",
            "priority": 100,
            "id": 1649690,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=b4feb17ca93ca95d",
            "url": "https://translate-dev.freebsd.org/api/units/1649690/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.529500Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "Let us add some meat onto the bones of the previous script and make it more complex and featureful.  The default methods can do a good job for us, but we may need some of their aspects tweaked.  Now we will learn how to tune the default methods to our needs."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 1130593541803541715,
            "content_hash": 1130593541803541715,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:385",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 81,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 51,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611682/?format=api",
            "priority": 100,
            "id": 1649691,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=8fb0acd60c8d04d3",
            "url": "https://translate-dev.freebsd.org/api/units/1649691/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.530126Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "command=\"/usr/sbin/${name}\"\ncommand_args=\"mock arguments > /dev/null 2>&1\" <.>\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -8598356115260950638,
            "content_hash": -8598356115260950638,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:397",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 82,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 7,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381807/?format=api",
            "priority": 100,
            "id": 1649692,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=08ac80ab51903792",
            "url": "https://translate-dev.freebsd.org/api/units/1649692/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.530784Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "pidfile=\"/var/run/${name}.pid\" <.>\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 6094019581354149631,
            "content_hash": 6094019581354149631,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:399",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 83,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 2,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381809/?format=api",
            "priority": 100,
            "id": 1649693,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=d4924e8590e386ff",
            "url": "https://translate-dev.freebsd.org/api/units/1649693/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.531400Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "required_files=\"/etc/${name}.conf /usr/share/misc/${name}.rules\" <.>\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -9123729460911910134,
            "content_hash": -9123729460911910134,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:401",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 84,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 3,
            "source_unit": "https://translate-dev.freebsd.org/api/units/426404/?format=api",
            "priority": 100,
            "id": 1649694,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=016200651794530a",
            "url": "https://translate-dev.freebsd.org/api/units/1649694/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.532010Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "sig_reload=\"USR1\" <.>\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 5377256183437142996,
            "content_hash": 5377256183437142996,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:403",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 85,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 2,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381813/?format=api",
            "priority": 100,
            "id": 1649695,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=ca9fda02480b2bd4",
            "url": "https://translate-dev.freebsd.org/api/units/1649695/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.532678Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "start_precmd=\"${name}_prestart\" <.>\nstop_postcmd=\"echo Bye-bye\" <.>\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 162566234966995330,
            "content_hash": 162566234966995330,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:406",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 86,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 5,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381815/?format=api",
            "priority": 100,
            "id": 1649696,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=82418d211fae3182",
            "url": "https://translate-dev.freebsd.org/api/units/1649696/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.533309Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "extra_commands=\"reload plugh xyzzy\" <.>\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 3423542704392687662,
            "content_hash": 3423542704392687662,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:408",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 87,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 4,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381817/?format=api",
            "priority": 100,
            "id": 1649697,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=af82ddf370b4d02e",
            "url": "https://translate-dev.freebsd.org/api/units/1649697/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.533912Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "plugh_cmd=\"mumbled_plugh\" <.>\nxyzzy_cmd=\"echo 'Nothing happens.'\"\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -3676198038201779156,
            "content_hash": -3676198038201779156,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:411",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 88,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 5,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381819/?format=api",
            "priority": 100,
            "id": 1649698,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=4cfb855c90febc2c",
            "url": "https://translate-dev.freebsd.org/api/units/1649698/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.534555Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "mumbled_prestart()\n{\n\tif checkyesno mumbled_smart; then <.>\n\t\trc_flags=\"-o smart ${rc_flags}\" <.>\n\tfi\n\tcase \"$mumbled_mode\" in\n\tfoo)\n\t\trc_flags=\"-frotz ${rc_flags}\"\n\t\t;;\n\tbar)\n\t\trc_flags=\"-baz ${rc_flags}\"\n\t\t;;\n\t*)\n\t\twarn \"Invalid value for mumbled_mode\" <.>\n\t\treturn 1 <.>\n\t\t;;\n\tesac\n\trun_rc_command xyzzy <.>\n\treturn 0\n}\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -6349807941781058009,
            "content_hash": -6349807941781058009,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:432",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 89,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 41,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381821/?format=api",
            "priority": 100,
            "id": 1649699,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=27e0f351d62f8e27",
            "url": "https://translate-dev.freebsd.org/api/units/1649699/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.535286Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "mumbled_plugh() <.>\n{\n\techo 'A hollow voice says \"plugh\".'\n}\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 4579986197697268865,
            "content_hash": 4579986197697268865,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:437",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 90,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 10,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381823/?format=api",
            "priority": 100,
            "id": 1649700,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=bf8f612e55f00c81",
            "url": "https://translate-dev.freebsd.org/api/units/1649700/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.535943Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "&#10122; Additional arguments to `$command` can be passed in `command_args`.  They will be added to the command line after `$mumbled_flags`.  Since the final command line is passed to `eval` for its actual execution, input and output redirections can be specified in `command_args`."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -6925910391368904281,
            "content_hash": -6925910391368904281,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:445",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 91,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 42,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611684/?format=api",
            "priority": 100,
            "id": 1649701,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=1fe23931b04511a7",
            "url": "https://translate-dev.freebsd.org/api/units/1649701/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.536568Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "_Never_ include dashed options, like `-X` or `--foo`, in `command_args`.  The contents of `command_args` will appear at the end of the final command line, hence they are likely to follow arguments present in `${name}_flags`; but most commands will not recognize dashed options after ordinary arguments.  A better way of passing additional options to `$command` is to add them to the beginning of `${name}_flags`.  Another way is to modify `rc_flags` <<rc-flags, as shown later>>."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -2509864996234396364,
            "content_hash": -2509864996234396364,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:452",
            "context": "",
            "note": "type: delimited block = 4",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 92,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 73,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611686/?format=api",
            "priority": 100,
            "id": 1649702,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=5d2b2b157142fd34",
            "url": "https://translate-dev.freebsd.org/api/units/1649702/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.537225Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "&#10123; A good-mannered daemon should create a _pidfile_ so that its process can be found more easily and reliably.  The variable `pidfile`, if set, tells man:rc.subr[8] where it can find the pidfile for its default methods to use."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 8616415718089284157,
            "content_hash": 8616415718089284157,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:456",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 93,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 38,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611688/?format=api",
            "priority": 100,
            "id": 1649703,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=f793a871a1cdda3d",
            "url": "https://translate-dev.freebsd.org/api/units/1649703/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.537934Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "In fact, man:rc.subr[8] will also use the pidfile to see if the daemon is already running before starting it.  This check can be skipped by using the `faststart` argument."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -7259887125407860862,
            "content_hash": -7259887125407860862,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:461",
            "context": "",
            "note": "type: delimited block = 4",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 94,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 29,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611690/?format=api",
            "priority": 100,
            "id": 1649704,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=1b3fb31fbca1f782",
            "url": "https://translate-dev.freebsd.org/api/units/1649704/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.538574Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "&#10124; If the daemon cannot run unless certain files exist, just list them in `required_files`, and man:rc.subr[8] will check that those files do exist before starting the daemon.  There also are `required_dirs` and `required_vars` for directories and environment variables, respectively.  They all are described in detail in man:rc.subr[8]."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -2139329414384356624,
            "content_hash": -2139329414384356624,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:466",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 95,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 48,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611692/?format=api",
            "priority": 100,
            "id": 1649705,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=624f933b761372f0",
            "url": "https://translate-dev.freebsd.org/api/units/1649705/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.539194Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "The default method from man:rc.subr[8] can be forced to skip the prerequisite checks by using `forcestart` as the argument to the script."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -947789817444566699,
            "content_hash": -947789817444566699,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:470",
            "context": "",
            "note": "type: delimited block = 4",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 96,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 22,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381835/?format=api",
            "priority": 100,
            "id": 1649706,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=72d8c62ec17bf955",
            "url": "https://translate-dev.freebsd.org/api/units/1649706/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.539844Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "&#10125; We can customize signals to send to the daemon in case they differ from the well-known ones.  In particular, `sig_reload` specifies the signal that makes the daemon reload its configuration; it is SIGHUP by default.  Another signal is sent to stop the daemon process; the default is SIGTERM, but this can be changed by setting `sig_stop` appropriately."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 8171040012650328274,
            "content_hash": 8171040012650328274,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:476",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 97,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 58,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611694/?format=api",
            "priority": 100,
            "id": 1649707,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=f1655d997786b0d2",
            "url": "https://translate-dev.freebsd.org/api/units/1649707/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.540480Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "The signal names should be specified to man:rc.subr[8] without the `SIG` prefix, as it is shown in the example.  The FreeBSD version of man:kill[1] can recognize the `SIG` prefix, but the versions from other OS types may not."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 4832131965543838077,
            "content_hash": 4832131965543838077,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:481",
            "context": "",
            "note": "type: delimited block = 4",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 98,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 38,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611696/?format=api",
            "priority": 100,
            "id": 1649708,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=c30f2e6bc20cf17d",
            "url": "https://translate-dev.freebsd.org/api/units/1649708/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.541124Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "&#10126;&#10127; Performing additional tasks before or after the default methods is easy.  For each command-argument supported by our script, we can define `argument_precmd` and `argument_postcmd`.  These man:sh[1] commands are invoked before and after the respective method, as it is evident from their names."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -7450827251323861345,
            "content_hash": -7450827251323861345,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:486",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 99,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 43,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611698/?format=api",
            "priority": 100,
            "id": 1649709,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=18995817520a869f",
            "url": "https://translate-dev.freebsd.org/api/units/1649709/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.541784Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/el/?format=api",
            "source": [
                "Overriding a default method with a custom `argument_cmd` still does not prevent us from making use of `argument_precmd` or `argument_postcmd` if we need to.  In particular, the former is good for checking custom, sophisticated conditions that should be met before performing the command itself.  Using `argument_precmd` along with `argument_cmd` lets us logically separate the checks from the action."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 1904391641481687103,
            "content_hash": 1904391641481687103,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:492",
            "context": "",
            "note": "type: delimited block = 4",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 100,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 58,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611700/?format=api",
            "priority": 100,
            "id": 1649710,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/el/?checksum=9a6dc21ba7bd303f",
            "url": "https://translate-dev.freebsd.org/api/units/1649710/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-02-17T12:46:48.542436Z"
        }
    ]
}