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

Fix systemd startup service issue #35

Closed
wants to merge 1 commit into from
Closed

Conversation

Ph-ill
Copy link

@Ph-ill Ph-ill commented Dec 18, 2023

When starting tinyticker as a systemd service without specifying the user the service fails to start as the tinyticker pip module is not installed for the root user. ie.

ModuleNotFoundError: No module named 'tinyticker'

When starting tinyticker as a systemd service without specifying the user the service fails to start as the tinyticker pip module is not installed for the root user.
ie.

ModuleNotFoundError: No module named 'tinyticker'
@loiccoyle
Copy link
Owner

loiccoyle commented Jan 12, 2024

The service files in this repo are not the same service files found on the disk image.

The disk image files are found here:
https://github.com/loiccoyle/pi-gen/tree/master/stage2/05-tinyticker/files

I would like to keep the ones in this repo to be "universal" and not rely on the tinyticker user existing as it does in the disk image. They are here to help ppl who don't use the provided disk image basically and want to setup tinyticker on their own.

Also the service files in the disk image are installed as services of the tinyticker user and as such I don't think adding the user line does anything.

I will close this PR, feel free to open one on the linked pi-gen repo if you want to make changes to the service files in the disk image.

@loiccoyle loiccoyle closed this Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants