如何为systemd框架创建RPM包? [英] How to create RPM package for systemd framework?

查看:174
本文介绍了如何为systemd框架创建RPM包?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要创建一个守护进程,该进程应通过init.d启动.我具有创建软件包并使用通过init.d管理的适当的开始/停止脚本进行安装的经验.但是最近它是通过systeemd管理的.请让我知道是否有基本的教程可以理解它以及如何打包,以便RPM的安装应按照systemd框架进行.

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.

推荐答案

您需要的所有内容都应该在Fedora的此处页面,在Packaging:Systemd 下.

Everything you need should be here on Fedora's page, under Packaging:Systemd.

这篇关于如何为systemd框架创建RPM包?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆