问题
I need to create a daemon process which should be started through init.d. I have experience of creating the package and installing it with appropriate start/stop scripts managed through init.d. However recently it is being managed through systeemd. Please let me know if there is basic tutorial to understand it and how to package so that installation of RPM should be as per systemd framework.
回答1:
Everything you need should be here on Fedora's page, under Packaging:Systemd.
来源:https://stackoverflow.com/questions/32223001/how-to-create-rpm-package-for-systemd-framework