Replace minecraft0backup.service

This commit is contained in:
Adam 2020-01-03 03:06:36 +00:00
parent a63372a4c5
commit 495d20db10
1 changed files with 3 additions and 2 deletions

View File

@ -12,10 +12,11 @@ ProtectSystem=full
PrivateDevices=true PrivateDevices=true
NoNewPrivileges=true NoNewPrivileges=true
PrivateTmp=true PrivateTmp=true
InaccessibleDirectories=/root /sys /mnt/data InaccessibleDirectories=/root /sys /mnt/data/ssd
ReadWriteDirectories=/srv/minecraft/spigot/bin ReadWriteDirectories=/srv/minecraft/spigot/bin
WorkingDirectory=/srv/minecraft/spigot/bin WorkingDirectory=/srv/minecraft/spigot/bin
ExecStart=/srv/minecraft/spigot/bin/warden-backup ExecStart=/srv/minecraft/spigot/bin/warden-backup
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target