【原创】ubuntu 添加开启启动项
Author: chad
Mail: linczone@163.com
ubuntu 添加开启启动项,修改/etc/rc.local,如下:
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
/home/yr/motion4meter/build/bin/motion -c /home/yr/motion4meter/build/bin/motion-dist.conf &
/home/yr/chaobiao/meter /home/yr/chaobiao/config.ini &
exit 0
本文介绍如何在Ubuntu系统中配置自定义的服务或应用为开机启动项。通过编辑/etc/rc.local文件并添加相应的执行命令来实现。文章提供了具体的命令示例。
2502

被折叠的 条评论
为什么被折叠?



