mirror of
https://github.com/deuill/coreos-home-server.git
synced 2024-09-21 21:50:46 +00:00
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
|