mirror of
https://codeberg.org/hyperreal/admin-scripts
synced 2024-11-01 16:03:06 +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
|