admin-scripts/systemd/system/.archived/mastodon-backup.service

15 lines
282 B
SYSTEMD
Raw Normal View History

2024-07-15 01:51:57 +02:00
[Unit]
Description=mastodon-backup
AssertFileIsExecutable=/home/mastodon/bin/mastodon-backup
Requires=mnt-mastodon.mount
After=mnt-mastodon.mount
[Service]
Type=oneshot
User=mastodon
Group=mastodon
ExecStart=/home/mastodon/bin/mastodon-backup
[Install]
WantedBy=multi-user.target