rc-ir-tank/tank
Marvin Martinson 25bc1ebd44 Files
2019-04-08 00:58:35 +03:00

17 lines
298 B
Bash

#!/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
}