Units
Translation components API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/units/?format=api
https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?format=api", "language_code": "cs", "source": [ "Launching a user-level systemd unit on boot" ], "previous_source": "", "target": [ "" ], "id_hash": -7985320021494083402, "content_hash": -7985320021494083402, "location": "pages/tutorial-user-systemd-unit-on-boot.adoc:1", "context": "", "note": "type: Title =", "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": 7, "source_unit": "https://translate.fedoraproject.org/api/units/7238545/?format=api", "priority": 100, "id": 17278638, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?checksum=112e71bf9d07d0b6", "url": "https://translate.fedoraproject.org/api/units/17278638/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T17:09:36.220528Z", "last_updated": "2024-02-20T17:09:36.220547Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?format=api", "language_code": "cs", "source": [ "In this tutorial, we will set up a user level systemd unit for an unprivileged user. There are times when it's helpful to launch a user-level https://www.freedesktop.org/software/systemd/man/systemd.unit.html[systemd unit] without having to log in. For example, you may wish to launch a container that provides a network service or run an HPC job. For this setup, we will add the following to a Butane config:" ], "previous_source": "", "target": [ "" ], "id_hash": 5849548642663731826, "content_hash": 5849548642663731826, "location": "pages/tutorial-user-systemd-unit-on-boot.adoc:6", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 64, "source_unit": "https://translate.fedoraproject.org/api/units/14485791/?format=api", "priority": 100, "id": 17278640, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?checksum=d12dc57f8e571272", "url": "https://translate.fedoraproject.org/api/units/17278640/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T17:09:36.229490Z", "last_updated": "2024-02-20T17:09:36.229507Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?format=api", "language_code": "cs", "source": [ "A user level systemd unit: `/home/sleeper/.config/systemd/user/linger-example.service`." ], "previous_source": "", "target": [ "" ], "id_hash": -5043040794933883532, "content_hash": -5043040794933883532, "location": "pages/tutorial-user-systemd-unit-on-boot.adoc:8", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 4, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://translate.fedoraproject.org/api/units/7238548/?format=api", "priority": 100, "id": 17278641, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?checksum=3a03851dbe298d74", "url": "https://translate.fedoraproject.org/api/units/17278641/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T17:09:36.234010Z", "last_updated": "2024-02-20T17:09:36.234026Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?format=api", "language_code": "cs", "source": [ "Enable it as a user level systemd service." ], "previous_source": "", "target": [ "" ], "id_hash": 6172308241260174770, "content_hash": 6172308241260174770, "location": "pages/tutorial-user-systemd-unit-on-boot.adoc:9", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 5, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 8, "source_unit": "https://translate.fedoraproject.org/api/units/7238549/?format=api", "priority": 100, "id": 17278642, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?checksum=d5a871a4a4875db2", "url": "https://translate.fedoraproject.org/api/units/17278642/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T17:09:36.239181Z", "last_updated": "2024-02-20T17:09:36.239210Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?format=api", "language_code": "cs", "source": [ "Setting up the systemd unit" ], "previous_source": "", "target": [ "" ], "id_hash": 1846849016250454716, "content_hash": 1846849016250454716, "location": "pages/tutorial-user-systemd-unit-on-boot.adoc:10", "context": "", "note": "type: Title ==", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 6, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 5, "source_unit": "https://translate.fedoraproject.org/api/units/7238550/?format=api", "priority": 100, "id": 17278643, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?checksum=99a153652f6352bc", "url": "https://translate.fedoraproject.org/api/units/17278643/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T17:09:36.246472Z", "last_updated": "2024-02-20T17:09:36.246501Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?format=api", "language_code": "cs", "source": [ "In this example, we will launch a systemd service for the user `sleeper`. First, let's create a user:" ], "previous_source": "", "target": [ "" ], "id_hash": -1235488278125528918, "content_hash": -1235488278125528918, "location": "pages/tutorial-user-systemd-unit-on-boot.adoc:13", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 7, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 18, "source_unit": "https://translate.fedoraproject.org/api/units/7238551/?format=api", "priority": 100, "id": 17278644, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?checksum=6edaa9f4fa2b38aa", "url": "https://translate.fedoraproject.org/api/units/17278644/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T17:09:36.254273Z", "last_updated": "2024-02-20T17:09:36.254303Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?format=api", "language_code": "cs", "source": [ "variant: fcos\nversion: {butane-latest-stable-spec}\npasswd:\n users:\n - name: sleeper\n" ], "previous_source": "", "target": [ "" ], "id_hash": 5287493511971156989, "content_hash": 5287493511971156989, "location": "pages/tutorial-user-systemd-unit-on-boot.adoc:21", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 8, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 9, "source_unit": "https://translate.fedoraproject.org/api/units/16788620/?format=api", "priority": 100, "id": 17278645, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?checksum=c960f355b53933fd", "url": "https://translate.fedoraproject.org/api/units/17278645/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T17:09:36.262370Z", "last_updated": "2024-02-20T17:09:36.262401Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?format=api", "language_code": "cs", "source": [ "This will also create the home directory for the `sleeper` user. Then we can add the systemd unit:" ], "previous_source": "", "target": [ "" ], "id_hash": -1187519669578329941, "content_hash": -1187519669578329941, "location": "pages/tutorial-user-systemd-unit-on-boot.adoc:24", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 9, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 18, "source_unit": "https://translate.fedoraproject.org/api/units/7238553/?format=api", "priority": 100, "id": 17278646, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?checksum=6f851526fafe90ab", "url": "https://translate.fedoraproject.org/api/units/17278646/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T17:09:36.270678Z", "last_updated": "2024-02-20T17:09:36.270708Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?format=api", "language_code": "cs", "source": [ "variant: fcos\nversion: {butane-latest-stable-spec}\nstorage:\n files:\n - path: /home/sleeper/.config/systemd/user/linger-example.service\n mode: 0644\n contents:\n inline: |\n [Unit]\n Description=A systemd user unit demo\n [Service]\n ExecStart=/usr/bin/sleep infinity\n user:\n name: sleeper\n group:\n name: sleeper\n" ], "previous_source": "", "target": [ "" ], "id_hash": -525715899190085426, "content_hash": -525715899190085426, "location": "pages/tutorial-user-systemd-unit-on-boot.adoc:43", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 10, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 29, "source_unit": "https://translate.fedoraproject.org/api/units/16788621/?format=api", "priority": 100, "id": 17278647, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?checksum=78b4482ccffff8ce", "url": "https://translate.fedoraproject.org/api/units/17278647/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T17:09:36.280425Z", "last_updated": "2024-02-20T17:09:36.280462Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?format=api", "language_code": "cs", "source": [ "System services can be directly enabled in Butane configs but user level services have to be manually enabled for now:" ], "previous_source": "", "target": [ "" ], "id_hash": 7877546037383102366, "content_hash": 7877546037383102366, "location": "pages/tutorial-user-systemd-unit-on-boot.adoc:46", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 11, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 20, "source_unit": "https://translate.fedoraproject.org/api/units/7757003/?format=api", "priority": 100, "id": 17278648, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?checksum=ed52aa624c017f9e", "url": "https://translate.fedoraproject.org/api/units/17278648/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T17:09:36.288401Z", "last_updated": "2024-02-20T17:09:36.288426Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?format=api", "language_code": "cs", "source": [ "variant: fcos\nversion: {butane-latest-stable-spec}\nstorage:\n directories:\n - path: /home/sleeper/.config/systemd/user/default.target.wants\n mode: 0755\n user:\n name: sleeper\n group:\n name: sleeper\n links:\n - path: /home/sleeper/.config/systemd/user/default.target.wants/linger-example.service\n user:\n name: sleeper\n group:\n name: sleeper\n target: /home/sleeper/.config/systemd/user/linger-example.service\n hard: false\n" ], "previous_source": "", "target": [ "" ], "id_hash": -5808095316163482456, "content_hash": -5808095316163482456, "location": "pages/tutorial-user-systemd-unit-on-boot.adoc:67", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 12, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 31, "source_unit": "https://translate.fedoraproject.org/api/units/16788622/?format=api", "priority": 100, "id": 17278649, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?checksum=2f65801522772ca8", "url": "https://translate.fedoraproject.org/api/units/17278649/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T17:09:36.296452Z", "last_updated": "2024-02-20T17:09:36.296474Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?format=api", "language_code": "cs", "source": [ "We set up lingering for the systemd user level instance so that it gets started directly on boot and stays running:" ], "previous_source": "", "target": [ "" ], "id_hash": -7641879025327869462, "content_hash": -7641879025327869462, "location": "pages/tutorial-user-systemd-unit-on-boot.adoc:70", "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": 21, "source_unit": "https://translate.fedoraproject.org/api/units/11603783/?format=api", "priority": 100, "id": 17278650, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?checksum=15f29783ced2f1ea", "url": "https://translate.fedoraproject.org/api/units/17278650/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T17:09:36.303557Z", "last_updated": "2024-02-20T17:09:36.303597Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?format=api", "language_code": "cs", "source": [ "variant: fcos\nversion: {butane-latest-stable-spec}\nstorage:\n files:\n - path: /var/lib/systemd/linger/sleeper\n mode: 0644\n" ], "previous_source": "", "target": [ "" ], "id_hash": 7183291792956846711, "content_hash": 7183291792956846711, "location": "pages/tutorial-user-systemd-unit-on-boot.adoc:79", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 14, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 11, "source_unit": "https://translate.fedoraproject.org/api/units/16788623/?format=api", "priority": 100, "id": 17278651, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?checksum=e3b02dd3b52bf277", "url": "https://translate.fedoraproject.org/api/units/17278651/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T17:09:36.311190Z", "last_updated": "2024-02-20T17:09:36.311210Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?format=api", "language_code": "cs", "source": [ "As the following directories do not exist yet, we will have to create them to tell Ignition to set the right ownership and permissions:" ], "previous_source": "", "target": [ "" ], "id_hash": 9004166544360993801, "content_hash": 9004166544360993801, "location": "pages/tutorial-user-systemd-unit-on-boot.adoc:82", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 15, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 24, "source_unit": "https://translate.fedoraproject.org/api/units/11603784/?format=api", "priority": 100, "id": 17278652, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?checksum=fcf539c41717f409", "url": "https://translate.fedoraproject.org/api/units/17278652/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T17:09:36.317995Z", "last_updated": "2024-02-20T17:09:36.318023Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?format=api", "language_code": "cs", "source": [ "variant: fcos\nversion: {butane-latest-stable-spec}\nstorage:\n directories:\n - path: /home/sleeper/.config\n mode: 0755\n user:\n name: sleeper\n group:\n name: sleeper\n - path: /home/sleeper/.config/systemd\n mode: 0755\n user:\n name: sleeper\n group:\n name: sleeper\n - path: /home/sleeper/.config/systemd/user\n mode: 0755\n user:\n name: sleeper\n group:\n name: sleeper\n - path: /home/sleeper/.config/systemd/user/default.target.wants\n mode: 0755\n user:\n name: sleeper\n group:\n name: sleeper\n" ], "previous_source": "", "target": [ "" ], "id_hash": 3811082705426910974, "content_hash": 3811082705426910974, "location": "pages/tutorial-user-systemd-unit-on-boot.adoc:113", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 16, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 50, "source_unit": "https://translate.fedoraproject.org/api/units/16788624/?format=api", "priority": 100, "id": 17278653, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?checksum=b4e3af87529b0efe", "url": "https://translate.fedoraproject.org/api/units/17278653/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T17:09:36.325065Z", "last_updated": "2024-02-20T17:09:36.325103Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?format=api", "language_code": "cs", "source": [ "Writing the Butane config and converting to Ignition" ], "previous_source": "", "target": [ "" ], "id_hash": 8306699213512401117, "content_hash": 8306699213512401117, "location": "pages/tutorial-user-systemd-unit-on-boot.adoc:115", "context": "", "note": "type: Title ==", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 17, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 8, "source_unit": "https://translate.fedoraproject.org/api/units/7757006/?format=api", "priority": 100, "id": 17278654, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?checksum=f34752ec856c60dd", "url": "https://translate.fedoraproject.org/api/units/17278654/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T17:09:36.331392Z", "last_updated": "2024-02-20T17:09:36.331414Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?format=api", "language_code": "cs", "source": [ "The final Butane config, stored in `user.bu`, will be:" ], "previous_source": "", "target": [ "" ], "id_hash": 1068475807627241286, "content_hash": 1068475807627241286, "location": "pages/tutorial-user-systemd-unit-on-boot.adoc:118", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 18, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 9, "source_unit": "https://translate.fedoraproject.org/api/units/7757007/?format=api", "priority": 100, "id": 17278655, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?checksum=8ed3fd1604b86746", "url": "https://translate.fedoraproject.org/api/units/17278655/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T17:09:36.337398Z", "last_updated": "2024-02-20T17:09:36.337421Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?format=api", "language_code": "cs", "source": [ "variant: fcos\nversion: {butane-latest-stable-spec}\npasswd:\n users:\n - name: core\n ssh_authorized_keys_local:\n - ssh-key.pub\n - name: sleeper\nstorage:\n directories:\n - path: /home/sleeper/.config\n mode: 0755\n user:\n name: sleeper\n group:\n name: sleeper\n - path: /home/sleeper/.config/systemd\n mode: 0755\n user:\n name: sleeper\n group:\n name: sleeper\n - path: /home/sleeper/.config/systemd/user\n mode: 0755\n user:\n name: sleeper\n group:\n name: sleeper\n - path: /home/sleeper/.config/systemd/user/default.target.wants\n mode: 0755\n user:\n name: sleeper\n group:\n name: sleeper\n files:\n - path: /var/lib/systemd/linger/sleeper\n mode: 0644\n - path: /home/sleeper/.config/systemd/user/linger-example.service\n mode: 0644\n contents:\n inline: |\n [Unit]\n Description=A systemd user unit demo\n [Service]\n ExecStart=/usr/bin/sleep infinity\n user:\n name: sleeper\n group:\n name: sleeper\n links:\n - path: /home/sleeper/.config/systemd/user/default.target.wants/linger-example.service\n user:\n name: sleeper\n group:\n name: sleeper\n target: /home/sleeper/.config/systemd/user/linger-example.service\n hard: false\n" ], "previous_source": "", "target": [ "" ], "id_hash": -8847338489261399184, "content_hash": -8847338489261399184, "location": "pages/tutorial-user-systemd-unit-on-boot.adoc:178", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 19, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 104, "source_unit": "https://translate.fedoraproject.org/api/units/16788625/?format=api", "priority": 100, "id": 17278656, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?checksum=0537f084ebeee370", "url": "https://translate.fedoraproject.org/api/units/17278656/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T17:09:36.346428Z", "last_updated": "2024-02-20T17:09:36.346468Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?format=api", "language_code": "cs", "source": [ "This config can be converted to Ignition:" ], "previous_source": "", "target": [ "" ], "id_hash": 3574743858909987441, "content_hash": 3574743858909987441, "location": "pages/tutorial-user-systemd-unit-on-boot.adoc:181", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 20, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 7, "source_unit": "https://translate.fedoraproject.org/api/units/7238562/?format=api", "priority": 100, "id": 17278657, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?checksum=b19c0a999156c271", "url": "https://translate.fedoraproject.org/api/units/17278657/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T17:09:36.352666Z", "last_updated": "2024-02-20T17:09:36.352685Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?format=api", "language_code": "cs", "source": [ "butane --pretty --strict --files-dir=./ user.bu --output user.ign\n" ], "previous_source": "", "target": [ "" ], "id_hash": -8032323228438796945, "content_hash": -8032323228438796945, "location": "pages/tutorial-user-systemd-unit-on-boot.adoc:185", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 21, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 7, "source_unit": "https://translate.fedoraproject.org/api/units/14881036/?format=api", "priority": 100, "id": 17278658, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?checksum=10877494afc9656f", "url": "https://translate.fedoraproject.org/api/units/17278658/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T17:09:36.358208Z", "last_updated": "2024-02-20T17:09:36.358238Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?format=api", "language_code": "cs", "source": [ "Testing" ], "previous_source": "", "target": [ "" ], "id_hash": -7283834722215946428, "content_hash": -7283834722215946428, "location": "pages/tutorial-user-systemd-unit-on-boot.adoc:187", "context": "", "note": "type: Title ==", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 22, "has_suggestion": true, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate.fedoraproject.org/api/units/7238564/?format=api", "priority": 100, "id": 17278659, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?checksum=1aea9ee95ba99744", "url": "https://translate.fedoraproject.org/api/units/17278659/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T17:09:36.364181Z", "last_updated": "2024-02-20T17:09:36.364199Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?format=api", "language_code": "cs", "source": [ "Just as before we will use the following to boot the instance:" ], "previous_source": "", "target": [ "" ], "id_hash": -6468915971823854561, "content_hash": -6468915971823854561, "location": "pages/tutorial-user-systemd-unit-on-boot.adoc:190", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 23, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 12, "source_unit": "https://translate.fedoraproject.org/api/units/7238565/?format=api", "priority": 100, "id": 17278660, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?checksum=2639cb3289969c1f", "url": "https://translate.fedoraproject.org/api/units/17278660/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T17:09:36.368992Z", "last_updated": "2024-02-20T17:09:36.369021Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?format=api", "language_code": "cs", "source": [ "# Setup the correct SELinux label to allow access to the config\nchcon --verbose --type svirt_home_t user.ign\n" ], "previous_source": "", "target": [ "" ], "id_hash": -2934285153747106861, "content_hash": -2934285153747106861, "location": "pages/tutorial-user-systemd-unit-on-boot.adoc:195", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 24, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 17, "source_unit": "https://translate.fedoraproject.org/api/units/7238566/?format=api", "priority": 100, "id": 17278661, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?checksum=57475332fd3383d3", "url": "https://translate.fedoraproject.org/api/units/17278661/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T17:09:36.374212Z", "last_updated": "2024-02-20T17:09:36.374237Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?format=api", "language_code": "cs", "source": [ "We can then verify that the unit has been started under the sleeper systemd user instance:" ], "previous_source": "", "target": [ "" ], "id_hash": -3398063532178895530, "content_hash": -3398063532178895530, "location": "pages/tutorial-user-systemd-unit-on-boot.adoc:204", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 26, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 16, "source_unit": "https://translate.fedoraproject.org/api/units/7655259/?format=api", "priority": 100, "id": 17278663, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?checksum=50d7a738a0448d56", "url": "https://translate.fedoraproject.org/api/units/17278663/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T17:09:36.387576Z", "last_updated": "2024-02-20T17:09:36.387602Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?format=api", "language_code": "cs", "source": [ "[core@localhost ~]$ sudo machinectl shell sleeper@\nConnected to the local host. Press ^] three times within 1s to exit session.\n[sleeper@localhost ~]$ systemctl --user status\n● localhost.localdomain\n State: running\n Units: 157 loaded (incl. loaded aliases)\n Jobs: 0 queued\n Failed: 0 units\n Since: Thu 2023-08-03 18:31:27 UTC; 23s ago\n systemd: 253.4-1.fc38\n CGroup: /user.slice/user-1001.slice/user@1001.service\n ├─app.slice\n │ └─linger-example.service\n │ └─1589 /usr/bin/sleep infinity\n └─init.scope\n ├─1489 /usr/lib/systemd/systemd --user\n └─1496 \"(sd-pam)\"\n[sleeper@localhost ~]$ systemctl --user status linger-example.service\n● linger-example.service - A systemd user unit demo\n Loaded: loaded (/var/home/sleeper/.config/systemd/user/linger-example.service; enabled; preset: disabled)\n Drop-In: /usr/lib/systemd/user/service.d\n └─10-timeout-abort.conf\n Active: active (running) since Thu 2023-08-03 18:31:27 UTC; 38s ago\n Main PID: 1589 (sleep)\n Tasks: 1 (limit: 2238)\n Memory: 224.0K\n CPU: 1ms\n CGroup: /user.slice/user-1001.slice/user@1001.service/app.slice/linger-example.service\n └─1589 /usr/bin/sleep infinity\n" ], "previous_source": "", "target": [ "" ], "id_hash": 5370709303275794923, "content_hash": 5370709303275794923, "location": "pages/tutorial-user-systemd-unit-on-boot.adoc:236", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 27, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 115, "source_unit": "https://translate.fedoraproject.org/api/units/14881037/?format=api", "priority": 100, "id": 17278664, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?checksum=ca8897a7f5a3b1eb", "url": "https://translate.fedoraproject.org/api/units/17278664/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T17:09:36.394909Z", "last_updated": "2024-02-20T17:09:36.394937Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?format=api", "language_code": "cs", "source": [ "Aug 03 18:31:27 localhost.localdomain systemd[1489]: Started linger-example.service - A systemd user unit demo.\n" ], "previous_source": "", "target": [ "" ], "id_hash": -8723902839828787316, "content_hash": -8723902839828787316, "location": "pages/tutorial-user-systemd-unit-on-boot.adoc:238", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 28, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 13, "source_unit": "https://translate.fedoraproject.org/api/units/14881038/?format=api", "priority": 100, "id": 17278665, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?checksum=06ee7896a0fbcf8c", "url": "https://translate.fedoraproject.org/api/units/17278665/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T17:09:36.402921Z", "last_updated": "2024-02-20T17:09:36.402943Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?format=api", "language_code": "cs", "source": [ "Cleanup" ], "previous_source": "", "target": [ "" ], "id_hash": -5360594353676744916, "content_hash": -5360594353676744916, "location": "pages/tutorial-user-systemd-unit-on-boot.adoc:240", "context": "", "note": "type: Title ==", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 29, "has_suggestion": true, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate.fedoraproject.org/api/units/7238571/?format=api", "priority": 100, "id": 17278666, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?checksum=359b57d64422072c", "url": "https://translate.fedoraproject.org/api/units/17278666/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T17:09:36.412247Z", "last_updated": "2024-02-20T17:09:36.412274Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?format=api", "language_code": "cs", "source": [ "You can then take down the instance. First, disconnect from the serial console by pressing `CTRL` + `]` and then destroy the machine:" ], "previous_source": "", "target": [ "" ], "id_hash": 1125806943653815377, "content_hash": 1125806943653815377, "location": "pages/tutorial-user-systemd-unit-on-boot.adoc:243", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 30, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 23, "source_unit": "https://translate.fedoraproject.org/api/units/7238572/?format=api", "priority": 100, "id": 17278667, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?checksum=8f9fab7352276451", "url": "https://translate.fedoraproject.org/api/units/17278667/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T17:09:36.420480Z", "last_updated": "2024-02-20T17:09:36.420519Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?format=api", "language_code": "cs", "source": [ "virsh destroy fcos\nvirsh undefine --remove-all-storage fcos\n" ], "previous_source": "", "target": [ "" ], "id_hash": 4830400402970336986, "content_hash": 4830400402970336986, "location": "pages/tutorial-user-systemd-unit-on-boot.adoc:247", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 31, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 7, "source_unit": "https://translate.fedoraproject.org/api/units/7238573/?format=api", "priority": 100, "id": 17278668, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?checksum=c3090792edf35eda", "url": "https://translate.fedoraproject.org/api/units/17278668/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T17:09:36.428487Z", "last_updated": "2024-02-20T17:09:36.428525Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?format=api", "language_code": "cs", "source": [ "You may now proceed with the xref:tutorial-updates.adoc[next tutorial]." ], "previous_source": "", "target": [ "" ], "id_hash": 5941678695316474513, "content_hash": 5941678695316474513, "location": "pages/tutorial-user-systemd-unit-on-boot.adoc:249", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 32, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 8, "source_unit": "https://translate.fedoraproject.org/api/units/9108921/?format=api", "priority": 100, "id": 17278669, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?checksum=d275154b03d84a91", "url": "https://translate.fedoraproject.org/api/units/17278669/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T17:09:36.435422Z", "last_updated": "2024-02-20T17:09:36.435457Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?format=api", "language_code": "cs", "source": [ "Complete all the steps described in the xref:tutorial-setup.adoc[initial setup page] before starting this tutorial. Make sure you have create file `ssh-key.pub` following the instructions provided in the https://docs.fedoraproject.org/en-US/fedora-coreos/tutorial-setup/#_ssh_public_key[prerequisites] for the tutorial. We will use this key in the Butane configuration file that we are about to write." ], "previous_source": "", "target": [ "" ], "id_hash": 2127805232566221061, "content_hash": 2127805232566221061, "location": "pages/tutorial-user-systemd-unit-on-boot.adoc:4", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 47, "source_unit": "https://translate.fedoraproject.org/api/units/17573990/?format=api", "priority": 100, "id": 17574187, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?checksum=9d877b95de53b905", "url": "https://translate.fedoraproject.org/api/units/17574187/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-04-24T22:27:08.306177Z", "last_updated": "2024-04-24T22:27:08.306210Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?format=api", "language_code": "cs", "source": [ "# Start a Fedora CoreOS virtual machine\nvirt-install --name=fcos --vcpus=2 --ram=2048 --os-variant=fedora-coreos-stable \\\n --import --network=bridge=virbr0 --graphics=none \\\n --qemu-commandline=\"-fw_cfg name=opt/com.coreos/config,file=${PWD}/user.ign\" \\\n --disk=\"size=20,backing_store=${PWD}/fedora-coreos.qcow2\"\n" ], "previous_source": "", "target": [ "" ], "id_hash": 7252153951153577448, "content_hash": 7252153951153577448, "location": "pages/tutorial-user-systemd-unit-on-boot.adoc:201", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 25, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 21, "source_unit": "https://translate.fedoraproject.org/api/units/18693834/?format=api", "priority": 100, "id": 18693835, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?checksum=e4a4d39852f45de8", "url": "https://translate.fedoraproject.org/api/units/18693835/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-13T22:28:28.297777Z", "last_updated": "2025-01-13T22:28:28.297806Z" } ] }{ "count": 32, "next": null, "previous": null, "results": [ { "translation": "