remove redundant unit

This commit is contained in:
Adam Douglas 2020-02-06 21:37:15 -06:00
parent 97d58d1e63
commit 29fd05b637
1 changed files with 0 additions and 28 deletions

View File

@ -1,28 +0,0 @@
[Unit]
Description=Minecraft Server
Wants=network.target
After=network.target
[Service]
Type=simple
User=minecraft
Group=minecraft
Nice=5
KillMode=none
SuccessExitStatus=0 1
ProtectHome=true
ProtectSystem=full
PrivateDevices=true
NoNewPrivileges=true
PrivateTmp=true
InaccessibleDirectories=/root /sys /mnt/data/ssd
ReadWriteDirectories=/srv/minecraft/spigot/server
WorkingDirectory=/srv/minecraft/spigot/server
ExecStart=/usr/bin/java -Xmx2G -Xms1G -jar spigot.jar --noconsole
ExecStop=/srv/minecraft/spigot/bin/warden-shutdown
KillMode=control-group
RestartSec=5s
Restart=on-failure
[Install]
WantedBy=multi-user.target