fix: add missing parameters to systemd unit

primary 0.2
George Rawlinson 1 year ago
parent 87fce4d686
commit ade122099c
Signed by: grawlinson
GPG Key ID: E0959FEA8B550539
  1. 8
      systemd.service

@ -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…
Cancel
Save