8 lines
226 B
Desktop File
8 lines
226 B
Desktop File
[Unit]
|
|
Description=Backup postgres database mastodon_production (monthly)
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
User=mastodon
|
|
Group=mastodon
|
|
ExecStart=/bin/bash -c "mv $(ls -rt /home/mastodon/.bu/*.sql|tail -1) /home/mastodon/.bu/monthly/"
|