surrounding variables in brackets

This commit is contained in:
Soper Aylamo 2021-12-26 23:09:40 -05:00
parent 22378f0a18
commit d07bfd45fa
Signed by: Soper
GPG Key ID: A27AC885ACC3BEAE

View File

@ -1,14 +1,14 @@
[Unit]
Description=[SERVER NAME]
Description=[SERVER_NAME]
After=local-fs.target network.target
[Service]
WorkingDirectory=[SERVER DIRECTORY]
User=USERNAME
Group=USERNAME
WorkingDirectory=[SERVER_DIRECTORY]
User=[USERNAME]
Group=[USERNAME]
Type=forking
Environment="SERVERNAME=#Short Server Name"
Environment="SERVERNAME=[SHORT_SERVER_NAME]"
ExecStart=/usr/bin/screen -dmS $SERVERNAME -t console ./start.sh