admin-scripts/systemd/system/mastodon-db-backup.service
Jeffrey Serio b8246306d3 Reorganize
2024-06-23 08:10:36 -05:00

15 lines
287 B
Desktop File

[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
ExecStart=/usr/local/bin/mastodon-db-backup
[Install]
WantedBy=multi-user.target