rc-ir-tank/tank

17 lines
298 B
Plaintext
Raw Permalink Normal View History

2019-04-07 21:58:35 +00:00
#!/bin/sh /etc/rc.common
# Copyright (C) 2015 CZ.NIC z.s.p.o. (http://www.nic.cz/)
START=81
STOP=0
USE_PROCD=1
SCRIPT="/root/robot.py"
start_service() {
procd_open_instance
procd_set_param command python3 "$SCRIPT"
#procd_set_param stdout 1
#procd_set_param stderr 1
procd_close_instance
}