potatosword
Dabbler
- Joined
- Dec 30, 2018
- Messages
- 44
So the rundown is that I've successfully installed MotionEye in an iocage running 11.2 but I can't get my startup script to work. I more or less followed this to get everything installed. This command must be issued in order to start the service:
I've created an rc.d script and chmod 755. The script runs manually via sh() just fine but does not seem to run at startup - which of course means something is going wrong with that process. I've placed copies of the script in both /etc/rc.d/ and /usr/local/etc/rc.d/.
annoyingly, service -e gives me this output:
I wish I had more verbose output from the jail as to what is going on. I'm sure I'm missing something trivial.
meyectl startserver -b -c /etc/motioneye/motioneye.conf
I've created an rc.d script and chmod 755. The script runs manually via sh() just fine but does not seem to run at startup - which of course means something is going wrong with that process. I've placed copies of the script in both /etc/rc.d/ and /usr/local/etc/rc.d/.
Code:
#!/bin/sh . /etc/rc.subr name=motioneye rcvar=motioneye_enable start_cmd="${name}_start" stop_cmd=":" load_rc_config $name motioneye_start(){ meyectl startserver -b -c /etc/motioneye/motioneye.conf } run_rc_command "$1"
annoyingly, service -e gives me this output:
Code:
/etc/rc.d/cleanvar /etc/rc.d/netif /etc/rc.d/newsyslog /etc/rc.d/syslogd /etc/rc.d/virecover /etc/rc.d/motd /etc/rc.d/cron /etc/rc.d/motioneye
I wish I had more verbose output from the jail as to what is going on. I'm sure I'm missing something trivial.
Last edited: