Luanti backup service

This commit is contained in:
Eric Meehan 2025-06-26 12:57:25 -04:00
parent 62b06fcfad
commit 6ca6f56cfd

View File

@ -0,0 +1,12 @@
[Unit]
Description=Create a tarball of luanti-luanti-minetest-config-pvc
After=network.target
[Service]
Type=oneshot
ExecStart=/bin/bash -c "cd /data/alpha/luanti-luanti-minetest-config-pvc-82a282df-f147-4d83-ad83-376b1b06d99b/ && tar -czvf worlds_$(date| sed 's/ /_/g').tar.gz worlds"
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target