This commit is contained in:
fosslinux 2019-03-06 07:04:25 +00:00
parent ddc6cc52aa
commit ae9077ddb7
2 changed files with 13 additions and 0 deletions

4
bin/tron Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
source /usr/local/tron/venv/bin/activate
python /usr/local/tron/playtron.py
deactivate

9
units/tron.service Normal file
View File

@ -0,0 +1,9 @@
[Unit]
Description=tron gameserver
[Service]
Type=simple
ExecStart=/usr/local/sbin/tron_server
[Install]
WantedBy=multi-user.target