Compare commits
No commits in common. "d76d56f5633fc5a660f9781ce37417cc7ea78ceb" and "c6b9a8349b8f5733b0ade9a65c35c75ca9987337" have entirely different histories.
d76d56f563
...
c6b9a8349b
2
mcserver.service
Normal file
2
mcserver.service
Normal file
@ -0,0 +1,2 @@
|
||||
[Unit]
|
||||
|
@ -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
|
Loading…
x
Reference in New Issue
Block a user