motioneye-project / motioneye

A web frontend for the motion daemon.
GNU General Public License v3.0
3.84k stars 649 forks source link

Arch aarch64 systemd fix #3005

Open letkan opened 3 weeks ago

letkan commented 3 weeks ago

So I'm running MotionEye on Arch aarch64 and it's been installed from git as per instructions. All is well except /etc/systemd/system/motioneye.service which points to /usr/local/bin/meyectl instead of /usr/bin/meyectl where it's been actually installed. Might be just a distribution specific issue, I don't know.

MichaIng commented 3 weeks ago

Arch Linux is installing pip packages to /usr instead of /usr/local? All distros I use consequently use /usr/local, and keep /usr for their distribution package manager exclusively.

We can do which meyectl or command -v meyectl to detect the effective executable location, so not a big issue. I am just surprised.

letkan commented 3 weeks ago

Arch Linux is installing pip packages to /usr instead of /usr/local? All distros I use consequently use /usr/local, and keep /usr for their distribution package manager exclusively.

Yes, /usr/

We can do which meyectl or command -v meyectl to detect the effective executable location, so not a big issue. I am just surprised.

MichaIng commented 2 weeks ago

PR up: #3011

Does it work when you run motioneye_init with this branch?

sudo python3 -m pip install --upgrade --force-reinstall --no-deps 'https://github.com/motioneye-project/motioneye/archive/arch.tar.gz'
sudo motioneye_init