surrounding variables in brackets
This commit is contained in:
parent
22378f0a18
commit
d07bfd45fa
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user