summaryrefslogtreecommitdiff
path: root/turtetris/files/slave.init
blob: 50923289710a2bf9edbbc2700c3caa9259e7c735 (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=99

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
}