Skip to content

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