mirror of
https://codeberg.org/hyperreal/admin-scripts
synced 2024-11-25 17:13:41 +01:00
15 lines
287 B
Desktop File
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
|