Initial commit
This commit is contained in:
parent
b2c525bf33
commit
6304138266
|
@ -0,0 +1,21 @@
|
||||||
|
[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
|
||||||
|
ReadWriteDirectories=/srv/minecraft/spigot/bin
|
||||||
|
WorkingDirectory=/srv/minecraft/spigot/bin
|
||||||
|
ExecStart=/srv/minecraft/spigot/bin/warden-backup
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Reference in New Issue