Compare commits

...

3 commits
0.1 ... primary

2 changed files with 10 additions and 4 deletions

View file

@ -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

View file

@ -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