mirror of
https://github.com/deuill/coreos-home-server.git
synced 2024-09-21 13:40:45 +00:00
Alex Palaistras
a4580e1cae
System files are moved to `/etc/coreos-home-server` to be unambiguous in relation to other, pre-installed system files. Long-running services are also now defined as `Type=notify`, which helps improve ordering and dependencies.
13 lines
378 B
Desktop File
13 lines
378 B
Desktop File
[Unit]
|
|
Description=Container environment for %I
|
|
ConditionPathExists=%E/coreos-home-server/host.env
|
|
ConditionPathExists=%E/coreos-home-server/%i/%i.env.template
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
EnvironmentFile=%E/coreos-home-server/host.env
|
|
ExecStart=/bin/sh -c 'envsubst < %E/coreos-home-server/%i/%i.env.template > %E/coreos-home-server/%i/%i.env'
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|