euchre-service.sh (240B) [raw]
1 #!/bin/ksh 2 # OpenBSD rc.d service for euchre.live 3 4 # config 5 INSTALL="/home/_euchre/prod-el" 6 # end config 7 8 daemon="perl $INSTALL/gloat.pl daemon -m production -l http://127.0.0.1:3000" 9 daemon_user="_euchre" 10 11 . /etc/rc.d/rc.subr 12 13 rc_cmd "$1"