Compare commits
3 commits
Author | SHA1 | Date | |
---|---|---|---|
ade122099c | |||
87fce4d686 | |||
06fa7f39db |
2 changed files with 10 additions and 4 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
|
||||
Group=distrobuilder
|
||||
User=distrobuilder-create
|
||||
Group=distrobuilder-create
|
||||
Restart=on-failure
|
||||
RestartSec=30
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[Unit]
|
||||
Description=Create LXD images on a monthly basis
|
||||
Description=Create %i images for LXD
|
||||
|
||||
[Timer]
|
||||
OnBootSec=15min
|
||||
|
|
Loading…
Reference in a new issue