Initial commit

This commit is contained in:
Adam 2020-01-03 03:08:17 +00:00
parent 383d5c1747
commit c285ea2deb
1 changed files with 22 additions and 0 deletions

22
minecraft-backup.service Normal file
View File

@ -0,0 +1,22 @@
[Unit]
Description=Minecraft Server Backup
Wants=network.target
After=network.target
[Service]
User=minecraft
Group=minecraft
Nice=5
ProtectHome=true
ProtectSystem=full
PrivateDevices=true
NoNewPrivileges=true
PrivateTmp=true
InaccessibleDirectories=/root /sys /mnt/data/ssd
ReadWriteDirectories=/srv/minecraft/spigot/bin
WorkingDirectory=/srv/minecraft/spigot/bin
ExecStart=/srv/minecraft/spigot/bin/warden-backup
[Install]
WantedBy=multi-user.target