Translation components API.

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

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

{
    "count": 177,
    "next": null,
    "previous": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/nb_NO/units/?format=api&page=3",
    "results": [
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/nb_NO/?format=api",
            "source": [
                "What essential changes can we notice in the script?"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -7374832491025990193,
            "content_hash": -7374832491025990193,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:791",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 164,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 9,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381957/?format=api",
            "priority": 100,
            "id": 782112,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/nb_NO/?checksum=19a754ec4662fdcf",
            "url": "https://translate-dev.freebsd.org/api/units/782112/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:24:16.577300Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/nb_NO/?format=api",
            "source": [
                "➊ All arguments you type after `start` can end up as positional parameters to the respective method.  We can use them in any way according to our task, skills, and fancy.  In the current example, we just pass all of them to man:echo[1] as one string in the next line - note `$*` within the double quotes.  Here is how the script can be invoked now:"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 6390877474990004781,
            "content_hash": 6390877474990004781,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:796",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 165,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 66,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611764/?format=api",
            "priority": 100,
            "id": 782115,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/nb_NO/?checksum=d8b0f53403d31a2d",
            "url": "https://translate-dev.freebsd.org/api/units/782115/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:24:16.598938Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/nb_NO/?format=api",
            "source": [
                "# /etc/rc.d/dummy start\nNothing started.\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 7652410571177859596,
            "content_hash": 7652410571177859596,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:801",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 166,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 5,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381961/?format=api",
            "priority": 100,
            "id": 782118,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/nb_NO/?checksum=ea32d2deca801a0c",
            "url": "https://translate-dev.freebsd.org/api/units/782118/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:24:16.618265Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/nb_NO/?format=api",
            "source": [
                "# /etc/rc.d/dummy start Hello world!\nGreeting message: Hello world!\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -8785274708804905865,
            "content_hash": -8785274708804905865,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:804",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 167,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 9,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381963/?format=api",
            "priority": 100,
            "id": 782120,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/nb_NO/?checksum=06146f32df75d477",
            "url": "https://translate-dev.freebsd.org/api/units/782120/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:24:16.634371Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/nb_NO/?format=api",
            "source": [
                "➋ The same applies to any method our script provides, not only to a standard one.  We have added a custom method named `kiss`, and it can take advantage of the extra arguments not less than `start` does. E.g.:"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -7546667965246347340,
            "content_hash": -7546667965246347340,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:808",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 168,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 39,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611766/?format=api",
            "priority": 100,
            "id": 782125,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/nb_NO/?checksum=1744d97835abe7b4",
            "url": "https://translate-dev.freebsd.org/api/units/782125/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:24:16.666506Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/nb_NO/?format=api",
            "source": [
                "# /etc/rc.d/dummy kiss\nA ghost gives you a kiss.\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 3564866647900237951,
            "content_hash": 3564866647900237951,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:813",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 169,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 9,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381967/?format=api",
            "priority": 100,
            "id": 782128,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/nb_NO/?checksum=b178f3542bbb307f",
            "url": "https://translate-dev.freebsd.org/api/units/782128/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:24:16.685825Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/nb_NO/?format=api",
            "source": [
                "# /etc/rc.d/dummy kiss Once I was Etaoin Shrdlu...\nA ghost gives you a kiss and whispers: Once I was Etaoin Shrdlu...\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 7890460369645563322,
            "content_hash": 7890460369645563322,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:816",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 170,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 21,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381969/?format=api",
            "priority": 100,
            "id": 782129,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/nb_NO/?checksum=ed808be697056dba",
            "url": "https://translate-dev.freebsd.org/api/units/782129/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:24:16.709823Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/nb_NO/?format=api",
            "source": [
                "➌ If we want just to pass all extra arguments to any method, we can merely substitute `\"$@\"` for `\"$1\"` in the last line of our script, where we invoke `run_rc_command`."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 6139634702348939978,
            "content_hash": 6139634702348939978,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:819",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 171,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 31,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381971/?format=api",
            "priority": 100,
            "id": 782130,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/nb_NO/?checksum=d5345d3b8c2b72ca",
            "url": "https://translate-dev.freebsd.org/api/units/782130/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:24:16.731534Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/nb_NO/?format=api",
            "source": [
                "An man:sh[1] programmer ought to understand the subtle difference between `$*` and `$@` as the ways to designate all positional parameters.  For its in-depth discussion, refer to a good handbook on man:sh[1] scripting.  _Do not_ use the expressions until you fully understand them because their misuse will result in buggy and insecure scripts."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -4462581403845045345,
            "content_hash": -4462581403845045345,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:825",
            "context": "",
            "note": "type: delimited block = 4",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 172,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 53,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611768/?format=api",
            "priority": 100,
            "id": 782137,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/nb_NO/?checksum=4211b9db628d539f",
            "url": "https://translate-dev.freebsd.org/api/units/782137/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:24:16.779256Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/nb_NO/?format=api",
            "source": [
                "Currently `run_rc_command` may have a bug that prevents it from keeping the original boundaries between arguments.  That is, arguments with embedded whitespace may not be processed correctly.  The bug stems from `$*` misuse."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 8246354977161676189,
            "content_hash": 8246354977161676189,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:832",
            "context": "",
            "note": "type: delimited block = 4",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 173,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 33,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611770/?format=api",
            "priority": 100,
            "id": 782138,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/nb_NO/?checksum=f270f029217f059d",
            "url": "https://translate-dev.freebsd.org/api/units/782138/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:24:16.807849Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/nb_NO/?format=api",
            "source": [
                "Further reading"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 3413879513181735093,
            "content_hash": 3413879513181735093,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:835",
            "context": "",
            "note": "type: Title ==",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 174,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 2,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381977/?format=api",
            "priority": 100,
            "id": 782139,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/nb_NO/?checksum=af608954692e48b5",
            "url": "https://translate-dev.freebsd.org/api/units/782139/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:24:16.824297Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/nb_NO/?format=api",
            "source": [
                "[[lukem]]http://www.mewburn.net/luke/papers/rc.d.pdf[The original article by Luke Mewburn] offers a general overview of [.filename]#rc.d# and detailed rationale for its design decisions.  It provides insight on the whole [.filename]#rc.d# framework and its place in a modern BSD operating system."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -3068620667265255413,
            "content_hash": -3068620667265255413,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:839",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 175,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 36,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611772/?format=api",
            "priority": 100,
            "id": 782144,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/nb_NO/?checksum=556a11c2e93b780b",
            "url": "https://translate-dev.freebsd.org/api/units/782144/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:24:16.857998Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/nb_NO/?format=api",
            "source": [
                "[[manpages]]The manual pages man:rc[8], man:rc.subr[8], and man:rcorder[8] document the [.filename]#rc.d# components in great detail.  You cannot fully use the [.filename]#rc.d# power without studying the manual pages and referring to them while writing your own scripts."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -3843401302365174096,
            "content_hash": -3843401302365174096,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:842",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 176,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 35,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611774/?format=api",
            "priority": 100,
            "id": 782147,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/nb_NO/?checksum=4aa97ee0f34006b0",
            "url": "https://translate-dev.freebsd.org/api/units/782147/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:24:16.901367Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/nb_NO/?format=api",
            "source": [
                "The major source of working, real-life examples is [.filename]#/etc/rc.d# in a live system.  Its contents are easy and pleasant to read because most rough corners are hidden deep in man:rc.subr[8].  Keep in mind though that the [.filename]#/etc/rc.d# scripts were not written by angels, so they might suffer from bugs and suboptimal design decisions.  Now you can improve them!"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -1090020829967265562,
            "content_hash": -1090020829967265562,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:846",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 177,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 58,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611776/?format=api",
            "priority": 100,
            "id": 782148,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/nb_NO/?checksum=70df77d4900650e6",
            "url": "https://translate-dev.freebsd.org/api/units/782148/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:24:16.936685Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/nb_NO/?format=api",
            "source": [
                "A guide to writing new rc.d scripts and understanding those already written"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -2165566784422263827,
            "content_hash": -2165566784422263827,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:1",
            "context": "",
            "note": "type: YAML Front Matter: description",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 1,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 12,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1177212/?format=api",
            "priority": 100,
            "id": 1177218,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/nb_NO/?checksum=61f25c7bb52043ed",
            "url": "https://translate-dev.freebsd.org/api/units/1177218/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-06-03T22:10:55.926157Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/nb_NO/?format=api",
            "source": [
                "nojail"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -4316082018601746637,
            "content_hash": -4316082018601746637,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:688",
            "context": "",
            "note": "type: Labeled list",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 145,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 1,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1261068/?format=api",
            "priority": 100,
            "id": 1261110,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/nb_NO/?checksum=441a32458bcabf33",
            "url": "https://translate-dev.freebsd.org/api/units/1261110/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2022-01-09T02:15:58.371038Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/nb_NO/?format=api",
            "source": [
                "The service is not for man:jail[8] environment.  The automatic startup and shutdown procedures will ignore the script if inside a jail."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 721072954916851738,
            "content_hash": 721072954916851738,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:690",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 146,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 21,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1261070/?format=api",
            "priority": 100,
            "id": 1261111,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/nb_NO/?checksum=8a01c40836f5d01a",
            "url": "https://translate-dev.freebsd.org/api/units/1261111/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2022-01-09T02:15:58.375310Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/nb_NO/?format=api",
            "source": [
                "nostart"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 8010299291997935040,
            "content_hash": 8010299291997935040,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:691",
            "context": "",
            "note": "type: Labeled list",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 147,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 1,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1261072/?format=api",
            "priority": 100,
            "id": 1261112,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/nb_NO/?checksum=ef2a4cc4041995c0",
            "url": "https://translate-dev.freebsd.org/api/units/1261112/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2022-01-09T02:15:58.379235Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/nb_NO/?format=api",
            "source": [
                "The service is to be started manually or not started at all.  The automatic startup procedure will ignore the script.  In conjunction with the [.filename]#shutdown# keyword, this can be used to write scripts that do something only at system shutdown."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 4142160772746481969,
            "content_hash": 4142160772746481969,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:694",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 148,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 40,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1261074/?format=api",
            "priority": 100,
            "id": 1261113,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/nb_NO/?checksum=b97be946d61c9131",
            "url": "https://translate-dev.freebsd.org/api/units/1261113/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2022-01-09T02:15:58.384117Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/nb_NO/?format=api",
            "source": [
                "shutdown"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 425288771188845647,
            "content_hash": 425288771188845647,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:695",
            "context": "",
            "note": "type: Labeled list",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 149,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 1,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1261076/?format=api",
            "priority": 100,
            "id": 1261114,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/nb_NO/?checksum=85e6ede255ac6c4f",
            "url": "https://translate-dev.freebsd.org/api/units/1261114/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2022-01-09T02:15:58.387805Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/nb_NO/?format=api",
            "source": [
                "This keyword is to be listed __explicitly__ if the service needs to be stopped before system shutdown."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -686574581436433825,
            "content_hash": -686574581436433825,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:696",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 150,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 17,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1261078/?format=api",
            "priority": 100,
            "id": 1261115,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/nb_NO/?checksum=7678cc0e49ab3a5f",
            "url": "https://translate-dev.freebsd.org/api/units/1261115/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2022-01-09T02:15:58.464576Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/nb_NO/?format=api",
            "source": [
                "When the system is going to shut down, [.filename]#/etc/rc.shutdown# runs.  It assumes that most [.filename]#rc.d# scripts have nothing to do at that time.  Therefore [.filename]#/etc/rc.shutdown# selectively invokes [.filename]#rc.d# scripts with the [.filename]#shutdown# keyword, effectively ignoring the rest of the scripts.  For even faster shutdown, [.filename]#/etc/rc.shutdown# passes the [.filename]#faststop# command to the scripts it runs so that they skip preliminary checks, e.g., the pidfile check.  As dependent services should be stopped before their prerequisites, [.filename]#/etc/rc.shutdown# runs the scripts in reverse dependency order.  If writing a real [.filename]#rc.d# script, you should consider whether it is relevant at system shutdown time.  E.g., if your script does its work in response to the [.filename]#start# command only, then you need not to include this keyword.  However, if your script manages a service, it is probably a good idea to stop it before the system proceeds to the final stage of its shutdown sequence described in man:halt[8].  In particular, a service should be stopped explicitly if it needs considerable time or special actions to shut down cleanly.  A typical example of such a service is a database engine."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 1971514122856367163,
            "content_hash": 1971514122856367163,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:709",
            "context": "",
            "note": "type: delimited block = 4",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 151,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 182,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1261080/?format=api",
            "priority": 100,
            "id": 1261116,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/nb_NO/?checksum=9b5c39a63285043b",
            "url": "https://translate-dev.freebsd.org/api/units/1261116/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2022-01-09T02:15:58.471255Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/nb_NO/?format=api",
            "source": [
                "After a script has been written, it needs to be integrated into [.filename]#rc.d#.  The crucial step is to install the script in [.filename]#/etc/rc.d# (for the base system) or [.filename]#/usr/local/etc/rc.d# (for ports).  Both [.filename]#bsd.prog.mk# and [.filename]#bsd.port.mk# provide convenient hooks for that, and usually you do not have to worry about the proper ownership and mode.  System scripts should be installed from [.filename]#src/libexec/rc/rc.d# through the [.filename]#Makefile# found there.  Port scripts can be installed using `USE_RC_SUBR` as described extref:{porters-handbook}[in the Porter's Handbook, rc-scripts]."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -5338117245712134234,
            "content_hash": -5338117245712134234,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:591",
            "context": "",
            "note": "type: delimited block = 4",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 122,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 80,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1438965/?format=api",
            "priority": 100,
            "id": 1438972,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/nb_NO/?checksum=35eb32a5c7f10fa6",
            "url": "https://translate-dev.freebsd.org/api/units/1438972/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2022-07-08T03:00:51.353131Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/nb_NO/?format=api",
            "source": [
                "The BSD [.filename]#rc.d# design is described in <<lukem, the original article by Luke Mewburn>>, and the [.filename]#rc.d# components are documented in great detail in <<manpages, the respective manual pages>>.  However, it might not appear obvious to an [.filename]#rc.d# newbie how to tie the numerous bits and pieces together to create a well-styled script for a particular task.  Therefore this article will try a different approach to describe [.filename]#rc.d#.  It will show which features should be used in a number of typical cases, and why.  Note that this is not a how-to document because our aim is not at giving ready-made recipes, but at showing a few easy entrances into the [.filename]#rc.d# realm.  Neither is this article a replacement for the relevant manual pages.  Do not hesitate to refer to them for more formal and complete documentation while reading this article."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 3039536149912059656,
            "content_hash": 3039536149912059656,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:101",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 12,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 140,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1574993/?format=api",
            "priority": 100,
            "id": 1575025,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/nb_NO/?checksum=aa2e9a0631777f08",
            "url": "https://translate-dev.freebsd.org/api/units/1575025/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2023-05-21T18:23:24.712501Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/nb_NO/?format=api",
            "source": [
                "There are prerequisites to understanding this article.  First of all, you should be familiar with the man:sh[1] scripting language to master [.filename]#rc.d#.  In addition, you should know how the system performs userland startup and shutdown tasks, which is described in man:rc[8]."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -5362957061593516883,
            "content_hash": -5362957061593516883,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:105",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 13,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 41,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1574995/?format=api",
            "priority": 100,
            "id": 1575026,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/nb_NO/?checksum=3592f2f7760bb4ad",
            "url": "https://translate-dev.freebsd.org/api/units/1575026/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2023-05-21T18:23:24.713485Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/nb_NO/?format=api",
            "source": [
                "A little consideration before starting `$EDITOR` will not hurt.  To write a well-tempered [.filename]#rc.d# script for a system service, we should be able to answer the following questions first:"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -2282471374781221887,
            "content_hash": -2282471374781221887,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:114",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 16,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 29,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1574997/?format=api",
            "priority": 100,
            "id": 1575027,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/nb_NO/?checksum=60530860b02af401",
            "url": "https://translate-dev.freebsd.org/api/units/1575027/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2023-05-21T18:23:24.714423Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/nb_NO/?format=api",
            "source": [
                "To be properly managed by the [.filename]#rc.d# framework, its scripts need to be written in the man:sh[1] language.  If you have a service or port that uses a binary control utility or a startup routine written in another language, install that element in [.filename]#/usr/sbin# (for the system) or [.filename]#/usr/local/sbin# (for ports) and call it from a man:sh[1] script in the appropriate [.filename]#rc.d# directory."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 843177929950133530,
            "content_hash": 843177929950133530,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:162",
            "context": "",
            "note": "type: delimited block = 4",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 31,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 63,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1574999/?format=api",
            "priority": 100,
            "id": 1575028,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/nb_NO/?checksum=8bb391dc25207d1a",
            "url": "https://translate-dev.freebsd.org/api/units/1575028/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2023-05-21T18:23:24.715956Z"
        }
    ]
}