msm/init/msm@.service
Anten Skrabec 6fef7d8653 Added new instantiated Systemd unit file
Allows for the individual control of msm servers with SystemD
2017-01-18 15:51:51 -07:00

16 lines
292 B
Desktop File

[Unit]
Description=Minecraft Server Manager - %i
Requires=network.target
After=network.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/local/bin/msm %i start
ExecStop=/usr/local/bin/msm %i stop
ExecReload=/usr/local/bin/msm %i restart
[Install]
WantedBy=multi-user.target