summaryrefslogtreecommitdiff
path: root/turtetris/files/master.init
blob: 912aff4274e35353d6acce3a32607bc2f95ef952 (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_master
	procd_set_param respawn
	procd_set_param stdout 1
	procd_set_param stderr 1
	procd_close_instance
}