admin-scripts/pi0/systemd/system/mastodon-db-backup.service

15 lines
287 B
SYSTEMD
Raw Normal View History

2024-06-20 17:12:41 +02:00
[Unit]
Description=mastodon-db-backup
Wants=postgresql.service
AssertFileIsExecutable=/usr/local/bin/mastodon-db-backup
[Service]
Type=oneshot
User=mastodon
Group=mastodon
WorkingDirectory=/home/mastodon
2024-06-20 17:12:41 +02:00
ExecStart=/usr/local/bin/mastodon-db-backup
[Install]
WantedBy=multi-user.target