Initial commit
This commit is contained in:
parent
c285ea2deb
commit
706c22eb52
|
@ -0,0 +1,21 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Minecraft Stats
|
||||||
|
Wants=network.target
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
User=root
|
||||||
|
Group=root
|
||||||
|
Nice=5
|
||||||
|
ProtectHome=true
|
||||||
|
ProtectSystem=full
|
||||||
|
PrivateDevices=true
|
||||||
|
NoNewPrivileges=true
|
||||||
|
PrivateTmp=true
|
||||||
|
InaccessibleDirectories=/root /sys /mnt/data/ssd
|
||||||
|
ReadWriteDirectories=/srv/http/sites/MinecraftStats
|
||||||
|
WorkingDirectory=/srv/http/sites/MinecraftStats
|
||||||
|
ExecStart=/srv/http/sites/MinecraftStats/update.py -s /srv/minecraft/spigot/server --server-name Crusydus --world survival
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Reference in New Issue