t/model_tests.d/systemd-examples/condition-list/main-test
raw| 1 | [Unit] |
| 2 | Description=Something something |
| 3 | PartOf=whatever.target |
| 4 | ConditionHost=|hostname1 |
| 5 | ConditionHost=|anotherhost |
| 6 | Requires=whatever |
| 7 | |
| 8 | # bogus service |
| 9 | [Service] |
| 10 | EnvironmentFile=-/etc/default/ssh |
| 11 | ExecStart=/usr/sbin/sshd -D $SSHD_OPTS |
| 12 | ExecReload=/bin/kill -HUP $MAINPID |
| 13 | KillMode=process |
| 14 | Restart=on-failure |
| 15 | RestartPreventExitStatus=255 |
| 16 | Type=notify |
| 17 | |
| 18 | [Install] |
| 19 | WantedBy=multi-user.target |
| 20 | Alias=sshd.service |