adding warning to .service template file
This commit is contained in:
parent
f3acf8dcd4
commit
74ddfe3d3d
@ -10,6 +10,8 @@ Type=forking
|
||||
|
||||
Environment="SERVERNAME=[SHORT_SERVER_NAME]"
|
||||
|
||||
# Do not edit anything beyond this point unless you know what you are doing.
|
||||
# Please ensure that you have 'screen' installed for the following to work:
|
||||
ExecStart=/usr/bin/screen -dmS $SERVERNAME -t console ./start.sh
|
||||
|
||||
ExecStop=/usr/bin/screen -p console -S $SERVERNAME -X eval 'stuff \015' 'stuff \"stop\"\015'
|
||||
|
Loading…
Reference in New Issue
Block a user