Skip to content

Commit f0921be

Browse files
author
CharmySoft
committed
Create a simple upstart script for the server
1 parent 47976b8 commit f0921be

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

ttt-service.conf

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Tic-Tac-Toe Server Service
2+
#
3+
# Upstart file at /etc/init/ttt-service.conf
4+
5+
description "Tic-Tac-Toe Server"
6+
author "Charlie@CharmySoft.com"
7+
8+
start on runlevel [2345]
9+
stop on runlevel [016]
10+
11+
respawn
12+
exec python3 /ttt_server.py 8080

0 commit comments

Comments
 (0)