Compare commits

...

2 Commits

Author SHA1 Message Date
Soper Aylamo d07bfd45fa
surrounding variables in brackets 2021-12-26 23:09:40 -05:00
Soper Aylamo 22378f0a18
updating license information 2021-12-26 23:08:07 -05:00
2 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
MIT License MIT License
Copyright (c) <year> <copyright holders> Copyright (c) 2021 Soper Aylamo
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

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