mirror of
https://codeberg.org/hyperreal/admin-scripts
synced 2024-11-29 11:03:41 +01:00
15 lines
282 B
SYSTEMD
15 lines
282 B
SYSTEMD
|
[Unit]
|
||
|
Description=mastodon-backup
|
||
|
AssertFileIsExecutable=/home/mastodon/bin/mastodon-backup
|
||
|
Requires=mnt-mastodon.mount
|
||
|
After=mnt-mastodon.mount
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
User=mastodon
|
||
|
Group=mastodon
|
||
|
ExecStart=/home/mastodon/bin/mastodon-backup
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|