Translation components API.

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

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

{
    "count": 215,
    "next": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/units/?format=api&page=3",
    "previous": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/units/?format=api",
    "results": [
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?format=api",
            "source": [
                "➋ 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:269",
            "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": 773293,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=0644059378f056b0",
            "url": "https://translate-dev.freebsd.org/api/units/773293/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:47.360398Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?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:275",
            "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": 773297,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=bac1d71702669889",
            "url": "https://translate-dev.freebsd.org/api/units/773297/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:47.392682Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?format=api",
            "source": [
                "➌ 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:281",
            "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": 773306,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=741be7f54e69e34d",
            "url": "https://translate-dev.freebsd.org/api/units/773306/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:47.438049Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?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:288",
            "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": 773310,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=9da98d08ecfa2170",
            "url": "https://translate-dev.freebsd.org/api/units/773310/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:47.471237Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?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:292",
            "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": 773327,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=fe50bbeec4734b10",
            "url": "https://translate-dev.freebsd.org/api/units/773327/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:47.568979Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?format=api",
            "source": [
                "➍ 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:299",
            "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": 773329,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=46e642c619e350cf",
            "url": "https://translate-dev.freebsd.org/api/units/773329/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:47.592777Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?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:304",
            "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": 773334,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=27c29066c21030e1",
            "url": "https://translate-dev.freebsd.org/api/units/773334/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:47.615783Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?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:309",
            "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": 773336,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=3e97f8c33db6e2ab",
            "url": "https://translate-dev.freebsd.org/api/units/773336/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:47.626982Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?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:312",
            "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": 773343,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=290951198d4922ed",
            "url": "https://translate-dev.freebsd.org/api/units/773343/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:47.677557Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?format=api",
            "source": [
                "➎ 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:316",
            "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": 773349,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=c6acf1105c5e5097",
            "url": "https://translate-dev.freebsd.org/api/units/773349/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:47.701059Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?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:320",
            "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": 773354,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=3c480a5ebc8adfd2",
            "url": "https://translate-dev.freebsd.org/api/units/773354/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:47.727174Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?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:323",
            "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": 773363,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=0acdeb87f982c4f5",
            "url": "https://translate-dev.freebsd.org/api/units/773363/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:47.758179Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?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:330",
            "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": 773367,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=7e9490cfd70a57fc",
            "url": "https://translate-dev.freebsd.org/api/units/773367/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:47.774685Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?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:339, documentation/content/en/articles/rc-scripting/_index.adoc:397, documentation/content/en/articles/rc-scripting/_index.adoc:634",
            "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": 773382,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=beaac5ddca9bb3de",
            "url": "https://translate-dev.freebsd.org/api/units/773382/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:47.876444Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?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:341",
            "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": 773388,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=4aaff5c007af775c",
            "url": "https://translate-dev.freebsd.org/api/units/773388/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:47.900663Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?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:344, documentation/content/en/articles/rc-scripting/_index.adoc:443, documentation/content/en/articles/rc-scripting/_index.adoc:649, documentation/content/en/articles/rc-scripting/_index.adoc:876",
            "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": 773394,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=d892f7e2346e85d9",
            "url": "https://translate-dev.freebsd.org/api/units/773394/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:47.928763Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?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:348",
            "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": 773396,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=9b684d80b98e2796",
            "url": "https://translate-dev.freebsd.org/api/units/773396/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:47.942644Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?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:352",
            "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": 773403,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=b7beaaae5bf83ffb",
            "url": "https://translate-dev.freebsd.org/api/units/773403/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:47.982553Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?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:361",
            "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": 773411,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=cf71f5bb924ccb8f",
            "url": "https://translate-dev.freebsd.org/api/units/773411/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:48.052061Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?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:368",
            "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": 773436,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=a8bd5a78c1a57f4c",
            "url": "https://translate-dev.freebsd.org/api/units/773436/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:48.184345Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?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:378",
            "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": 773451,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=184811ab696c4314",
            "url": "https://translate-dev.freebsd.org/api/units/773451/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:48.255701Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?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:381",
            "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": 773456,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=a04b2af8aeaa6c2f",
            "url": "https://translate-dev.freebsd.org/api/units/773456/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:48.268569Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?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:383",
            "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": 773461,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=b4feb17ca93ca95d",
            "url": "https://translate-dev.freebsd.org/api/units/773461/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:48.294869Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?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:388",
            "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": 773464,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=8fb0acd60c8d04d3",
            "url": "https://translate-dev.freebsd.org/api/units/773464/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:48.305924Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?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:400",
            "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": 773468,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=08ac80ab51903792",
            "url": "https://translate-dev.freebsd.org/api/units/773468/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:48.316327Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?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:402",
            "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": 773471,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=d4924e8590e386ff",
            "url": "https://translate-dev.freebsd.org/api/units/773471/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:48.348861Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?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:404",
            "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": 773480,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=016200651794530a",
            "url": "https://translate-dev.freebsd.org/api/units/773480/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:48.407930Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?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:406",
            "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": 773482,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=ca9fda02480b2bd4",
            "url": "https://translate-dev.freebsd.org/api/units/773482/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:48.428463Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?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:409",
            "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": 773485,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=82418d211fae3182",
            "url": "https://translate-dev.freebsd.org/api/units/773485/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:48.453569Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?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:411",
            "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": 773486,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=af82ddf370b4d02e",
            "url": "https://translate-dev.freebsd.org/api/units/773486/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:48.470162Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?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:414",
            "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": 773491,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=4cfb855c90febc2c",
            "url": "https://translate-dev.freebsd.org/api/units/773491/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:48.497379Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?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:435",
            "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": 773495,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=27e0f351d62f8e27",
            "url": "https://translate-dev.freebsd.org/api/units/773495/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:48.512377Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?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:440",
            "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": 773499,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=bf8f612e55f00c81",
            "url": "https://translate-dev.freebsd.org/api/units/773499/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:48.540292Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?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:448",
            "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": 773500,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=1fe23931b04511a7",
            "url": "https://translate-dev.freebsd.org/api/units/773500/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:48.549914Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?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:459",
            "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": 773504,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=f793a871a1cdda3d",
            "url": "https://translate-dev.freebsd.org/api/units/773504/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:48.580731Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?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:464",
            "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": 773506,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=1b3fb31fbca1f782",
            "url": "https://translate-dev.freebsd.org/api/units/773506/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:48.589653Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?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:469",
            "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": 773509,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=624f933b761372f0",
            "url": "https://translate-dev.freebsd.org/api/units/773509/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:48.603009Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?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:473",
            "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": 773511,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=72d8c62ec17bf955",
            "url": "https://translate-dev.freebsd.org/api/units/773511/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:48.613512Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?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:479",
            "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": 773513,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=f1655d997786b0d2",
            "url": "https://translate-dev.freebsd.org/api/units/773513/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:48.621544Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?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:484",
            "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": 773514,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=c30f2e6bc20cf17d",
            "url": "https://translate-dev.freebsd.org/api/units/773514/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:48.629875Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?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:489",
            "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": 773517,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=18995817520a869f",
            "url": "https://translate-dev.freebsd.org/api/units/773517/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:48.637179Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?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:495",
            "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": 773519,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=9a6dc21ba7bd303f",
            "url": "https://translate-dev.freebsd.org/api/units/773519/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:48.645008Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?format=api",
            "source": [
                "Do not forget that you can cram any valid man:sh[1] expressions into the methods, pre-, and post-commands you define.  Just invoking a function that makes the real job is a good style in most cases, but never let style limit your understanding of what is going on behind the curtain."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -1729651640916647919,
            "content_hash": -1729651640916647919,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:498",
            "context": "",
            "note": "type: delimited block = 4",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 101,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 50,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611702/?format=api",
            "priority": 100,
            "id": 773521,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=67ff0aff25fde011",
            "url": "https://translate-dev.freebsd.org/api/units/773521/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:48.661761Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?format=api",
            "source": [
                "&#10128; If we would like to implement custom arguments, which can also be thought of as _commands_ to our script, we need to list them in `extra_commands` and provide methods to handle them."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 7815018544659277433,
            "content_hash": 7815018544659277433,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:501",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 102,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 33,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381847/?format=api",
            "priority": 100,
            "id": 773526,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=ec7485f5eb81a679",
            "url": "https://translate-dev.freebsd.org/api/units/773526/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:48.695152Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?format=api",
            "source": [
                "The `reload` command is special. On the one hand, it has a preset method in man:rc.subr[8].  On the other hand, `reload` is not offered by default.  The reason is that not all daemons use the same reload mechanism and some have nothing to reload at all.  So we need to ask explicitly that the builtin functionality be provided.  We can do so via `extra_commands`."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 1369455018728398926,
            "content_hash": 1369455018728398926,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:509",
            "context": "",
            "note": "type: delimited block = 4",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 103,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 64,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611704/?format=api",
            "priority": 100,
            "id": 773527,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=93014815772ea04e",
            "url": "https://translate-dev.freebsd.org/api/units/773527/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:48.721661Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?format=api",
            "source": [
                "What do we get from the default method for `reload`? Quite often daemons reload their configuration upon reception of a signal - typically, SIGHUP.  Therefore man:rc.subr[8] attempts to reload the daemon by sending a signal to it.  The signal is preset to SIGHUP but can be customized via `sig_reload` if necessary."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 2358757484686172100,
            "content_hash": 2358757484686172100,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:513",
            "context": "",
            "note": "type: delimited block = 4",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 104,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 51,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611706/?format=api",
            "priority": 100,
            "id": 773530,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=a0bbfd6f62035fc4",
            "url": "https://translate-dev.freebsd.org/api/units/773530/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:48.736627Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?format=api",
            "source": [
                "&#10129;&#9454; Our script supports two non-standard commands, `plugh` and `xyzzy`.  We saw them listed in `extra_commands`, and now it is time to provide methods for them.  The method for `xyzzy` is just inlined while that for `plugh` is implemented as the `mumbled_plugh` function."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -4828253697441620602,
            "content_hash": -4828253697441620602,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:518",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 105,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 43,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611708/?format=api",
            "priority": 100,
            "id": 773532,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=3cfe98d7e6869d86",
            "url": "https://translate-dev.freebsd.org/api/units/773532/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:48.762655Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?format=api",
            "source": [
                "Non-standard commands are not invoked during startup or shutdown.  Usually they are for the system admin's convenience.  They can also be used from other subsystems, e.g., man:devd[8] if specified in man:devd.conf[5]."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -2125531623271863329,
            "content_hash": -2125531623271863329,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:522",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 106,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 31,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611710/?format=api",
            "priority": 100,
            "id": 773534,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=628098400c056bdf",
            "url": "https://translate-dev.freebsd.org/api/units/773534/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:48.772429Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?format=api",
            "source": [
                "The full list of available commands can be found in the usage line printed by man:rc.subr[8] when the script is invoked without arguments.  For example, here is the usage line from the script under study:"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -2323670933257609469,
            "content_hash": -2323670933257609469,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:525",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 107,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 35,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611712/?format=api",
            "priority": 100,
            "id": 773538,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=5fc0a998f8479f03",
            "url": "https://translate-dev.freebsd.org/api/units/773538/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:48.830881Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/it_IT/?format=api",
            "source": [
                "# /etc/rc.d/mumbled\nUsage: /etc/rc.d/mumbled [fast|force|one](start|stop|restart|rcvar|reload|plugh|xyzzy|status|poll)\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 8750226655943290048,
            "content_hash": 8750226655943290048,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:530",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 108,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 5,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381859/?format=api",
            "priority": 100,
            "id": 773547,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/it_IT/?checksum=f96f0cc86ba76cc0",
            "url": "https://translate-dev.freebsd.org/api/units/773547/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:48.883661Z"
        }
    ]
}