【原创】ubuntu 添加开启启动项

来源:互联网 发布:在计算机领域 数据是 编辑:程序博客网 时间:2024/05/22 06:04

【原创】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
0 0
原创粉丝点击