run all backup tasks in a slice

This commit is contained in:
Jef Roosens 2026-04-20 21:53:11 +02:00
parent d351573a3b
commit 4c54a80122
Signed by: Jef Roosens
GPG key ID: 21FD3D77D56BAF49
6 changed files with 61 additions and 3 deletions

View file

@ -4,6 +4,7 @@ After=network.target
[Service]
Type=oneshot
Slice=backup.slice
User={{ item.user | default('root') }}
Group={{ item.group | default('backups') }}

View file

@ -0,0 +1,8 @@
#!/usr/bin/env bash
echo "log line 1"
echo "log line 2"
echo "log line 3"
echo "log line 4"
echo "log line 5"
echo "log line 6"