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

set systemd Type=forking #708

Closed
wants to merge 1 commit into from

Conversation

zbinorama
Copy link

systemd service with Type=simple stopped immediately
odyssey-service-deactivated

@zbinorama
Copy link
Author

zbinorama commented Oct 30, 2024

lsb_release -a

No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm

@reshke
Copy link
Contributor

reshke commented Oct 31, 2024

Thanks for your contribution! i will review soon

@rkhapov
Copy link
Collaborator

rkhapov commented Nov 5, 2024

Hello and thanks for your contribution!
Seems like your root problem is that you set daemonize yes in odyssey.conf file.

Type 'forking' isn't recommended for using
https://unix.stackexchange.com/questions/401590/systemd-timeout-because-it-doesnt-detect-daemon-forking/401611#401611

@zbinorama
Copy link
Author

zbinorama commented Nov 6, 2024

Seems like your root problem is that you set daemonize yes in odyssey.conf file.

Yes, you are right.

I've set:
daemonize no in odyssey.conf
and
Type=simple in odyssey.service
and that's working.

Thank you for your reply.

@zbinorama zbinorama closed this Nov 6, 2024
@zbinorama zbinorama deleted the fix-systemd-service-type branch November 6, 2024 15:50
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.

3 participants