distrobuilder-create/systemd.service

16 lines
318 B
SYSTEMD
Raw Normal View History

2021-09-11 08:12:36 +00:00
[Unit]
Description=Create %i images for LXD
Requires=network-online.target lxd.service
2021-09-11 08:12:36 +00:00
After=network-online.target lxd.service
[Service]
Type=oneshot
2021-09-11 08:12:36 +00:00
ExecStart=/usr/bin/distrobuilder-create %i
User=distrobuilder-create
Group=distrobuilder-create
Restart=on-failure
RestartSec=30
[Install]
WantedBy=multi-user.target