minecraft-server-fabric/minecraftd-backup.service
Gordian Edenhofer f312efaac7 Upgpkg: 1.9-1
Add suspending capability for the minecraft server through the control
script and an additional screen session which listens on the same port
with netcat.
	* Update .conf accordingly
	* IDLE_SERVER can be either true or false
	* The default is no idle server
	* Choose an available netcat flavor automatically
Variable renaming in .install.
Notify the user of kept directories on post_remove and alter ownership
to root before removing the game user.
Print error messages to stderr.
2016-02-29 21:35:38 +01:00

14 lines
237 B
Desktop File

[Unit]
Description=Minecraft Server World Backup
After=local-fs.target
[Service]
Type=forking
EnvironmentFile=/etc/conf.d/minecraft
ExecStart=/usr/bin/minecraftd backup
USER=$MC_USER
GROUP=$MC_USER
[Install]
WantedBy=multi-user.target