Compare commits
3 commits
Author | SHA1 | Date | |
---|---|---|---|
ade122099c | |||
87fce4d686 | |||
06fa7f39db |
2 changed files with 10 additions and 4 deletions
|
@ -1,9 +1,15 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Create %i images for LXD
|
Description=Create %i images for LXD
|
||||||
Wants=network-online.target lxd.service
|
Requires=network-online.target lxd.service
|
||||||
After=network-online.target lxd.service
|
After=network-online.target lxd.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
ExecStart=/usr/bin/distrobuilder-create %i
|
ExecStart=/usr/bin/distrobuilder-create %i
|
||||||
User=distrobuilder
|
User=distrobuilder-create
|
||||||
Group=distrobuilder
|
Group=distrobuilder-create
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=30
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Create LXD images on a monthly basis
|
Description=Create %i images for LXD
|
||||||
|
|
||||||
[Timer]
|
[Timer]
|
||||||
OnBootSec=15min
|
OnBootSec=15min
|
||||||
|
|
Loading…
Reference in a new issue