Compare commits

..

No commits in common. "d76d56f5633fc5a660f9781ce37417cc7ea78ceb" and "c6b9a8349b8f5733b0ade9a65c35c75ca9987337" have entirely different histories.

2 changed files with 2 additions and 16 deletions

2
mcserver.service Normal file
View File

@ -0,0 +1,2 @@
[Unit]

View File

@ -1,16 +0,0 @@
[Unit]
Description=Minecraft server manager
Wants=network.target
After=network.target
[Service]
Type=forking
ExitType=cgroup
User=change
ExecStart=/usr/bin/env mcserver start %i
ExecStop =/usr/bin/env mcserver stop %i
RestartSec=5
Restart=always
[Install]
WantedBy=multi-user.target