aboutsummaryrefslogtreecommitdiff
path: root/turtetris/files/master.init
blob: 46176c58b38a23934bba87ec25d6597def575938 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh /etc/rc.common
# Copyright (C) 2006-2011 OpenWrt.org

USE_PROCD=1

START=101

start_service() {
	procd_open_instance
	procd_set_param command python3 -m turtetris_master
	procd_set_param respawn
	procd_set_param stdout 1
	procd_set_param stderr 1
	procd_close_instance
}