15 lines
354 B
Desktop File
15 lines
354 B
Desktop File
[Unit]
|
|
Description=Import hcloud network config
|
|
Requires=hcloud-dl-metadata.service
|
|
After=hcloud-dl-metadata.service
|
|
ConditionPathExists=/etc/systemd/network/default.network
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
DynamicUser=yes
|
|
ExecStart=/usr/local/bin/hcloud-network
|
|
StandardOutput=truncate:/etc/systemd/network/default.network
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|