ubuntu上设置服务自动启动

sudo update-rc.d minidlna defaults

This should add the service to the automatic startup system. But if you get:

System start/stop links for /etc/init.d/minidlna already exist.
Do the command

sudo update-rc.d minidlna enable

P.S.: For further detail look at the man page for update-rc.d by typing the command man update-rc.d

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

请拖动滑块 *