mirror of
https://github.com/inexcode/backup-facility
synced 2024-11-21 22:11:26 +00:00
9 lines
248 B
SYSTEMD
9 lines
248 B
SYSTEMD
|
[Unit]
|
||
|
Description=Mastodon database backup service (data pruning)
|
||
|
[Service]
|
||
|
User=mastodon
|
||
|
Group=restic
|
||
|
Type=oneshot
|
||
|
ExecStart=/usr/bin/restic -r /backups/mastodon/database prune
|
||
|
EnvironmentFile=/home/mastodon/.config/mastodon-database-backup.conf
|