5560d34550
Readd the `WantedBy` directive to allow for proper enabling of the unit. This might however not work properly as the 'multi-user.target' is now specified in `WantedBy` and `After`. upgpkg: cuberite 1.12b975-2 upgpkg: spigot 1.12.2+b73-2
14 lines
254 B
Desktop File
14 lines
254 B
Desktop File
[Unit]
|
|
Description=Minecraft Server
|
|
After=local-fs.target network.target multi-user.target
|
|
|
|
[Service]
|
|
Type=forking
|
|
ExecStart=/usr/bin/minecraftd start
|
|
ExecStop=/usr/bin/minecraftd stop
|
|
User=minecraft
|
|
Group=minecraft
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|