mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
Merge pull request #352 from cebarks/patch-1
Added new instantiated Systemd unit file
This commit is contained in:
commit
d8a6e8cbba
15
init/msm@.service
Normal file
15
init/msm@.service
Normal file
@ -0,0 +1,15 @@
|
||||
[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
|
||||
|
Loading…
Reference in New Issue
Block a user