Compare commits

..

No commits in common. "d07bfd45fa09cb68ae148dd95e928282c0cb8bcb" and "50da19a9a140d17d8b53f9eb0805b0b7d033d12f" have entirely different histories.

2 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2021 Soper Aylamo
Copyright (c) <year> <copyright holders>
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]
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