Files
micro-config-drive/data/ucd@.service.in
T
Brett T. Warden d0f1601944 Adopt an instance service for providers
Instead of creating a unique service file for each provider, just use a
single instance service. We'll change the symlinks in packaging.
2022-10-21 11:02:18 -07:00

18 lines
419 B
Plaintext

[Unit]
Description=micro-config-drive job for %I
After=network.target systemd-networkd.service
Wants=local-fs.target sshd.service sshd-keygen.service
ConditionPathExists=!/var/lib/cloud/%I-user-data
[Service]
Type=oneshot
ExecStart=@prefix@/bin/ucd-data-fetch %I
RemainAfterExit=yes
TimeoutSec=0
# Output needs to appear in instance console output
StandardOutput=journal+console
[Install]
WantedBy=multi-user.target