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

Use systemd instead of upstart #58

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

jmlich
Copy link

@jmlich jmlich commented Jan 19, 2024

As is mentioned in AsteroidOS/telescope#63 ubuntu 20.04 focal is using systemd instead of upstart.

In fact, big part of code can be shared with SailfishOS platfrom.

@FlorentRevest
Copy link
Member

Neat :) it would be good to get rid of that abstraction! I see your implementation differs quite a lot from the sailfishos "platform code" to interact with systemd. It looks to me like the two code should do pretty much exactly the same thing. Have you considered using the same code for both ? I feel we could remove the platform abstraction entirely and just have one class for both. Maybe there's a subtle detail I'm missing in which case they could have very slight variations within the same file. Maybe I'm missing something big and then it's justified to keep two implementations.

@jmlich
Copy link
Author

jmlich commented Feb 12, 2024

I have tried to use the sailfish os code. If I remember correctly, some part was different.

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