Skip to content

Commit

Permalink
Merge pull request msmhq#352 from cebarks/patch-1
Browse files Browse the repository at this point in the history
Added new instantiated Systemd unit file
  • Loading branch information
M-D-M authored Apr 11, 2020
2 parents 30d6f6f + 6fef7d8 commit d8a6e8c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions init/[email protected]
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit d8a6e8c

Please sign in to comment.