aboutsummaryrefslogtreecommitdiff
path: root/turtetris/files/slave.init
blob: cc843ca5c72d8705d8e912b6d9965aec03434e50 (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=100

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