Wraith is a game engine and web server.
Start the server with the ability to shut it down gracefully from clavinejune blog.
See Gregory Gaines' Blog for details on why we want to use BCrypt.
See Scott Piper's Blog for more details on auth/auth.
WARNING: Don't trust this application to be secure. Use at your own risk.
I put together a systemd
script based on the
DO Tutorial.
/etc/systemd/system# cat wraith.service
[Unit]
Description=Wraith server
StartLimitIntervalSec=0
After=network-online.target
[Service]
Type=simple
User=www-data
PIDFile=/run/wraith.pid
WorkingDirectory=/var/www/wraith
ExecStart=/usr/local/bin/wraith
ExecReload=/bin/kill -USR1 $MAINPID
Restart=on-failure
RestartSec=1
[Install]
WantedBy=multi-user.target
Please do your own research on how to secure and lock down a service.
This repository is licensed under the GNU Affero General Public License.
Please see the LICENSE
file in the root of this repository.