fix: add missing parameters to systemd unit
This commit is contained in:
parent
87fce4d686
commit
ade122099c
1 changed files with 7 additions and 1 deletions
|
@ -1,9 +1,15 @@
|
|||
[Unit]
|
||||
Description=Create %i images for LXD
|
||||
Wants=network-online.target lxd.service
|
||||
Requires=network-online.target lxd.service
|
||||
After=network-online.target lxd.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/distrobuilder-create %i
|
||||
User=distrobuilder-create
|
||||
Group=distrobuilder-create
|
||||
Restart=on-failure
|
||||
RestartSec=30
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Reference in a new issue