[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