minecraft-server-fabric/minecraftd.service

15 lines
272 B
SYSTEMD
Raw Normal View History

2015-07-03 10:16:00 -07:00
[Unit]
2015-09-20 14:23:34 -07:00
Description=Minecraft Server
After=local-fs.target network.target
2015-07-03 10:16:00 -07:00
[Service]
2015-09-20 14:23:34 -07:00
Type=forking
EnvironmentFile=/etc/conf.d/minecraft
2015-09-20 14:23:34 -07:00
ExecStart=/usr/bin/minecraftd start
ExecStop=/usr/bin/minecraftd stop
USER=$MC_USER
GROUP=$MC_USER
2015-07-03 10:16:00 -07:00
[Install]
WantedBy=multi-user.target