├── LICENSE ├── README.md ├── dependencies ├── five-services-with-wants-requires-and-conflicts │ ├── Dockerfile │ ├── README.md │ └── system │ │ ├── a.service │ │ ├── b.service │ │ ├── c.service │ │ ├── d.service │ │ ├── default.target │ │ ├── e.service │ │ ├── halt.service │ │ ├── halt.target │ │ ├── sysinit.target │ │ ├── systemd-journald.service │ │ └── systemd-journald.socket ├── six-services-with-ordering-and-requirement-dependencies │ ├── Dockerfile │ ├── README.md │ └── system │ │ ├── a.service │ │ ├── b.service │ │ ├── c.service │ │ ├── d.service │ │ ├── default.target │ │ ├── e.service │ │ ├── f.service │ │ ├── halt.service │ │ ├── halt.target │ │ ├── sysinit.target │ │ ├── systemd-journald.service │ │ └── systemd-journald.socket └── six-services-with-ordering-dependencies │ ├── Dockerfile │ ├── README.md │ └── system │ ├── a.service │ ├── b.service │ ├── c.service │ ├── d.service │ ├── default.target │ ├── e.service │ ├── f.service │ ├── halt.service │ ├── halt.target │ ├── sysinit.target │ ├── systemd-journald.service │ └── systemd-journald.socket └── minimization ├── Dockerfile ├── README.md └── system ├── default.target ├── halt.service ├── halt.target ├── sysinit.target ├── systemd-journald.service └── systemd-journald.socket /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/README.md -------------------------------------------------------------------------------- /dependencies/five-services-with-wants-requires-and-conflicts/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/dependencies/five-services-with-wants-requires-and-conflicts/Dockerfile -------------------------------------------------------------------------------- /dependencies/five-services-with-wants-requires-and-conflicts/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/dependencies/five-services-with-wants-requires-and-conflicts/README.md -------------------------------------------------------------------------------- /dependencies/five-services-with-wants-requires-and-conflicts/system/a.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/dependencies/five-services-with-wants-requires-and-conflicts/system/a.service -------------------------------------------------------------------------------- /dependencies/five-services-with-wants-requires-and-conflicts/system/b.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/dependencies/five-services-with-wants-requires-and-conflicts/system/b.service -------------------------------------------------------------------------------- /dependencies/five-services-with-wants-requires-and-conflicts/system/c.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/dependencies/five-services-with-wants-requires-and-conflicts/system/c.service -------------------------------------------------------------------------------- /dependencies/five-services-with-wants-requires-and-conflicts/system/d.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/dependencies/five-services-with-wants-requires-and-conflicts/system/d.service -------------------------------------------------------------------------------- /dependencies/five-services-with-wants-requires-and-conflicts/system/default.target: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/dependencies/five-services-with-wants-requires-and-conflicts/system/default.target -------------------------------------------------------------------------------- /dependencies/five-services-with-wants-requires-and-conflicts/system/e.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/dependencies/five-services-with-wants-requires-and-conflicts/system/e.service -------------------------------------------------------------------------------- /dependencies/five-services-with-wants-requires-and-conflicts/system/halt.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/dependencies/five-services-with-wants-requires-and-conflicts/system/halt.service -------------------------------------------------------------------------------- /dependencies/five-services-with-wants-requires-and-conflicts/system/halt.target: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=A minimal halt target 3 | Requires=halt.service 4 | -------------------------------------------------------------------------------- /dependencies/five-services-with-wants-requires-and-conflicts/system/sysinit.target: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Empty sysinit target 3 | -------------------------------------------------------------------------------- /dependencies/five-services-with-wants-requires-and-conflicts/system/systemd-journald.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/dependencies/five-services-with-wants-requires-and-conflicts/system/systemd-journald.service -------------------------------------------------------------------------------- /dependencies/five-services-with-wants-requires-and-conflicts/system/systemd-journald.socket: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/dependencies/five-services-with-wants-requires-and-conflicts/system/systemd-journald.socket -------------------------------------------------------------------------------- /dependencies/six-services-with-ordering-and-requirement-dependencies/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/dependencies/six-services-with-ordering-and-requirement-dependencies/Dockerfile -------------------------------------------------------------------------------- /dependencies/six-services-with-ordering-and-requirement-dependencies/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/dependencies/six-services-with-ordering-and-requirement-dependencies/README.md -------------------------------------------------------------------------------- /dependencies/six-services-with-ordering-and-requirement-dependencies/system/a.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/dependencies/six-services-with-ordering-and-requirement-dependencies/system/a.service -------------------------------------------------------------------------------- /dependencies/six-services-with-ordering-and-requirement-dependencies/system/b.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/dependencies/six-services-with-ordering-and-requirement-dependencies/system/b.service -------------------------------------------------------------------------------- /dependencies/six-services-with-ordering-and-requirement-dependencies/system/c.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/dependencies/six-services-with-ordering-and-requirement-dependencies/system/c.service -------------------------------------------------------------------------------- /dependencies/six-services-with-ordering-and-requirement-dependencies/system/d.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/dependencies/six-services-with-ordering-and-requirement-dependencies/system/d.service -------------------------------------------------------------------------------- /dependencies/six-services-with-ordering-and-requirement-dependencies/system/default.target: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/dependencies/six-services-with-ordering-and-requirement-dependencies/system/default.target -------------------------------------------------------------------------------- /dependencies/six-services-with-ordering-and-requirement-dependencies/system/e.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/dependencies/six-services-with-ordering-and-requirement-dependencies/system/e.service -------------------------------------------------------------------------------- /dependencies/six-services-with-ordering-and-requirement-dependencies/system/f.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/dependencies/six-services-with-ordering-and-requirement-dependencies/system/f.service -------------------------------------------------------------------------------- /dependencies/six-services-with-ordering-and-requirement-dependencies/system/halt.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/dependencies/six-services-with-ordering-and-requirement-dependencies/system/halt.service -------------------------------------------------------------------------------- /dependencies/six-services-with-ordering-and-requirement-dependencies/system/halt.target: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=A minimal halt target 3 | Requires=halt.service 4 | -------------------------------------------------------------------------------- /dependencies/six-services-with-ordering-and-requirement-dependencies/system/sysinit.target: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Empty sysinit target 3 | -------------------------------------------------------------------------------- /dependencies/six-services-with-ordering-and-requirement-dependencies/system/systemd-journald.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/dependencies/six-services-with-ordering-and-requirement-dependencies/system/systemd-journald.service -------------------------------------------------------------------------------- /dependencies/six-services-with-ordering-and-requirement-dependencies/system/systemd-journald.socket: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/dependencies/six-services-with-ordering-and-requirement-dependencies/system/systemd-journald.socket -------------------------------------------------------------------------------- /dependencies/six-services-with-ordering-dependencies/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/dependencies/six-services-with-ordering-dependencies/Dockerfile -------------------------------------------------------------------------------- /dependencies/six-services-with-ordering-dependencies/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/dependencies/six-services-with-ordering-dependencies/README.md -------------------------------------------------------------------------------- /dependencies/six-services-with-ordering-dependencies/system/a.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/dependencies/six-services-with-ordering-dependencies/system/a.service -------------------------------------------------------------------------------- /dependencies/six-services-with-ordering-dependencies/system/b.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/dependencies/six-services-with-ordering-dependencies/system/b.service -------------------------------------------------------------------------------- /dependencies/six-services-with-ordering-dependencies/system/c.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/dependencies/six-services-with-ordering-dependencies/system/c.service -------------------------------------------------------------------------------- /dependencies/six-services-with-ordering-dependencies/system/d.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/dependencies/six-services-with-ordering-dependencies/system/d.service -------------------------------------------------------------------------------- /dependencies/six-services-with-ordering-dependencies/system/default.target: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/dependencies/six-services-with-ordering-dependencies/system/default.target -------------------------------------------------------------------------------- /dependencies/six-services-with-ordering-dependencies/system/e.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/dependencies/six-services-with-ordering-dependencies/system/e.service -------------------------------------------------------------------------------- /dependencies/six-services-with-ordering-dependencies/system/f.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/dependencies/six-services-with-ordering-dependencies/system/f.service -------------------------------------------------------------------------------- /dependencies/six-services-with-ordering-dependencies/system/halt.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/dependencies/six-services-with-ordering-dependencies/system/halt.service -------------------------------------------------------------------------------- /dependencies/six-services-with-ordering-dependencies/system/halt.target: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=A minimal halt target 3 | Requires=halt.service 4 | -------------------------------------------------------------------------------- /dependencies/six-services-with-ordering-dependencies/system/sysinit.target: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Empty sysinit target 3 | -------------------------------------------------------------------------------- /dependencies/six-services-with-ordering-dependencies/system/systemd-journald.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/dependencies/six-services-with-ordering-dependencies/system/systemd-journald.service -------------------------------------------------------------------------------- /dependencies/six-services-with-ordering-dependencies/system/systemd-journald.socket: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/dependencies/six-services-with-ordering-dependencies/system/systemd-journald.socket -------------------------------------------------------------------------------- /minimization/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/minimization/Dockerfile -------------------------------------------------------------------------------- /minimization/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/minimization/README.md -------------------------------------------------------------------------------- /minimization/system/default.target: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/minimization/system/default.target -------------------------------------------------------------------------------- /minimization/system/halt.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/minimization/system/halt.service -------------------------------------------------------------------------------- /minimization/system/halt.target: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=A minimal halt target 3 | Requires=halt.service 4 | -------------------------------------------------------------------------------- /minimization/system/sysinit.target: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Empty sysinit target 3 | -------------------------------------------------------------------------------- /minimization/system/systemd-journald.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/minimization/system/systemd-journald.service -------------------------------------------------------------------------------- /minimization/system/systemd-journald.socket: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrj/systemd-by-example/HEAD/minimization/system/systemd-journald.socket --------------------------------------------------------------------------------