adding warning to .service template file

main
Soper Aylamo 2023-02-26 02:21:05 +00:00
parent f3acf8dcd4
commit 74ddfe3d3d
1 changed files with 2 additions and 0 deletions

View File

@ -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'