Feature Request: noninteractive start motion as service.
Hi! I am sorry for my english. I have changed function start() in /etc/rc.d/init.d/motion for run motion with non-priviledged UID and special umask. Interactive start|restart motion work nice, but non-interactive(i.e. after reboot) does not start motion. Is tty required for start motion as service? Below is apropriate part of /etc/rc.d/init.d/motion:
echo -n $"Starting $prog: "
/usr/bin/sudo -u motion /bin/bash -c "umask 0007 ; exec $motion"
[ $RETVAL = 0 ] && touch /var/lock/subsys/motion
Motion build as rpm package from src.rpm.
| Motion version:
| ffmpeg version:
| Shared libraries:
|| ffmpeg, mysql, postgresql
| Server OS:
|| Fedora Core 6
- 06 Feb 2007
Well first at all that is not a bug , because you changed
motion init.d script
So that is a feature request or support question , anyway ... please try to send more information about the problem you have when system boots
maybe the problem is that your device kernel module is not ready or the permission for is not set yet.
- 07 Feb 2007