mirror of
https://codeberg.org/hyperreal/admin-scripts
synced 2024-11-02 00:13:07 +01:00
12 lines
226 B
SYSTEMD
12 lines
226 B
SYSTEMD
|
[Unit]
|
||
|
Description=mastodon-db-backup
|
||
|
Wants=postgresql.service
|
||
|
AssertFileIsExecutable=/usr/local/bin/mastodon-db-backup
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
ExecStart=/usr/local/bin/mastodon-db-backup
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|