Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Executable path is not absolute #66

Closed
matteos1 opened this issue Feb 15, 2020 · 1 comment
Closed

Executable path is not absolute #66

matteos1 opened this issue Feb 15, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@matteos1
Copy link

matteos1 commented Feb 15, 2020

git clone https://github.com/pimoroni/fanshim-python
cd fanshim-python
sudo ./install.sh

cd examples
sudo ./install-service.sh --on-threshold 50 --off-threshold 40 --delay 2

this is the error when i try to start the service

Feb 15 20:03:41 DietPi systemd[1]: [/etc/systemd/system/pimoroni-fanshim.service:8] Executable path is not absolute, ignoring: python3 /root/fanshim-python/exam
ples/automatic.py --on-threshold 50 --off-threshold 40 --delay 2 --brightness 255
Feb 15 20:03:41 DietPi systemd[1]: pimoroni-fanshim.service: Service lacks both ExecStart= and ExecStop= setting. Refusing.
Feb 15 20:03:41 DietPi systemd[1]: [/etc/systemd/system/pimoroni-fanshim.service:8] Executable path is not absolute, ignoring: python3 /root/fanshim-python/exam
ples/automatic.py --on-threshold 50 --off-threshold 40 --delay 2 --brightness 255
Feb 15 20:03:41 DietPi systemd[1]: pimoroni-fanshim.service: Service lacks both ExecStart= and ExecStop= setting. Refusing.
Feb 15 20:03:51 DietPi systemd[1]: [/etc/systemd/system/pimoroni-fanshim.service:8] Executable path is not absolute, ignoring: python3 /root/fanshim-python/exam
ples/automatic.py --on-threshold 50 --off-threshold 40 --delay 2 --brightness 255
Feb 15 20:03:51 DietPi systemd[1]: pimoroni-fanshim.service: Service lacks both ExecStart= and ExecStop= setting. Refusing.
Feb 15 20:03:52 DietPi systemd[1]: [/etc/systemd/system/pimoroni-fanshim.service:8] Executable path is not absolute, ignoring: python3 /root/fanshim-python/exam
ples/automatic.py --on-threshold 50 --off-threshold 40 --delay 2 --brightness 255
Feb 15 20:03:52 DietPi systemd[1]: pimoroni-fanshim.service: Service lacks both ExecStart= and ExecStop= setting. Refusing.

@Gadgetoid
Copy link
Member

I think that must have been regressed by https://github.com/pimoroni/fanshim-python/pull/43/files

I'll see what I can do to fix it without having to roll everything back.

Gadgetoid added a commit that referenced this issue Feb 15, 2020
@Gadgetoid Gadgetoid self-assigned this Feb 15, 2020
@Gadgetoid Gadgetoid added the bug Something isn't working label Feb 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants