View previous topic :: View next topic |
Author |
Message |
kenny_w Tux's lil' helper
Joined: 26 Nov 2017 Posts: 83 Location: Toronto, Canada
|
Posted: Sun Nov 26, 2017 5:53 pm Post subject: OpenRC and MotionEye |
|
|
Hey everyone - new user to Gentoo here, I'm running Sakaki's Gentoo ARM64 build on my Raspberry Pi 3B & I've got to say I am quite satisfied with it! But I've run into a problem with trying to use MotionEye
There's apparently no OpenRC init script for MotionEye, so I guess one has to be made & I'm not smart enough to do this on my own unfortunately.
Has anyone been able to make MotionEye work with OpenRC?
This is the error I get when I try to use the sysvinit script
/etc/init.d/motioneye.init start
/etc/init.d/motioneye.init: line 23: /lib/lsb/init-functions: No such file or directory |
|
Back to top |
|
|
Sakaki Guru
Joined: 21 May 2014 Posts: 409
|
Posted: Tue Nov 28, 2017 1:34 pm Post subject: |
|
|
Hi kenny_w, welcome to Gentoo!
The file /lib/lsb/init-functions isn't present in OpenRC, which is why MotionEye's bundled Debian init script is failing.
However, looking at its bundled systemd unit file, you should at least be able to get the server started by running (as root):
Code: | pi64 ~ # /usr/bin/meyectl startserver -c /etc/motioneye/motioneye.conf |
This won't get you start-stop-daemon's PIDfile creation etc. but if it works, at least it is then worth proceeding to write the OpenRC init file properly (you can ttake a look at some of the files in /etc/init.d for inspiration). _________________ Regards,
sakaki |
|
Back to top |
|
|
archenroot Apprentice
Joined: 13 Dec 2011 Posts: 218 Location: Lake Macha, Czech republic
|
Posted: Mon Jul 02, 2018 8:27 pm Post subject: |
|
|
I got into similar situation but with Nuxeo DMS system:
https://doc.nuxeo.com/nxdoc/configuring-the-nuxeo-platform-as-a-daemon-with-sysvinit/
Is there any common way about how to replace lsb commands with OpenRC bundled with Gentoo?
Thanks for any hints. _________________ Emperor wants to control outer space Yoda wants to explore inner space that's the fundamental difference between good and bad sides of the Force |
|
Back to top |
|
|
|