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

systemd init script #7

Open
benklett opened this issue Nov 29, 2015 · 11 comments
Open

systemd init script #7

benklett opened this issue Nov 29, 2015 · 11 comments

Comments

@benklett
Copy link

As most modern distributions are switching to systemd, it might be appropriate to add a service for it.

@nthx
Copy link
Owner

nthx commented Nov 29, 2015

+1

Can you provide pull request?

@benklett
Copy link
Author

Not at the moment. When I start working on it, I will leave a note here.

@empierre
Copy link

systemv is not always possible depending on your distribution, e.g. openmediavault won't work with it (though this may change one day)

@nthx
Copy link
Owner

nthx commented Nov 29, 2015

I think we can safely assume it works on Ubuntu 14 and/or 15. It's not tested anywhere else ..

That's what the most Xu3 users use anyway

@empierre
Copy link

if [[ /sbin/init --version =~ upstart ]]; then echo using upstart;
elif [[ systemctl =~ -.mount ]]; then echo using systemd;
elif [[ -f /etc/init.d/cron && ! -h /etc/init.d/cron ]]; then echo using sysv-init;
else echo cannot tell; fi

@empierre
Copy link

a debian package could sort this out gracefully

@benklett
Copy link
Author

What I want to have/build is a odroid-xu3-fan-control.service file for systemd not systemv.

@empierre
Copy link

yes check my odroid-xu3-fan-control.service pull request

@benklett
Copy link
Author

Oh, nice. But why do you call it systemv?

@empierre
Copy link

a spelling mistake sorry ;-(

@benklett
Copy link
Author

That's ok. I just wanted to verify, that it was a mistake.

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

No branches or pull requests

3 participants