@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env ssm
|
||||
|
||||
# Backup rotation — oneshot service with tmpfiles.
|
||||
#
|
||||
# service_tmpfiles creates paths before start:
|
||||
# "path:file:perms:owner:group"
|
||||
# "path:dir:perms:owner:group"
|
||||
# "path:symlink:target"
|
||||
# Directories default to 755, files to 644, owners default to root:root.
|
||||
|
||||
service_oneshot = yes
|
||||
service_tmpfiles = /var/backup:dir:0755:backup:backup \
|
||||
/var/backup/manifest:file:0640:root:backup
|
||||
service_command = /usr/local/bin/backup-rotate --config /etc/backup.conf
|
||||
Reference in New Issue
Block a user