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] [Unit]
Description=[SERVER NAME] Description=[SERVER_NAME]
After=local-fs.target network.target After=local-fs.target network.target
[Service] [Service]
WorkingDirectory=[SERVER DIRECTORY] WorkingDirectory=[SERVER_DIRECTORY]
User=USERNAME User=[USERNAME]
Group=USERNAME Group=[USERNAME]
Type=forking Type=forking
Environment="SERVERNAME=#Short Server Name" Environment="SERVERNAME=[SHORT_SERVER_NAME]"
ExecStart=/usr/bin/screen -dmS $SERVERNAME -t console ./start.sh ExecStart=/usr/bin/screen -dmS $SERVERNAME -t console ./start.sh