写在/etc/rc.local的命令为什么不执行?

sh/bash/dash/ksh/zsh等Shell脚本
回复
头像
blackiron
帖子: 887
注册时间: 2007-05-25 16:47
来自: 上海

写在/etc/rc.local的命令为什么不执行?

#1

帖子 blackiron » 2017-04-27 11:20

Ubuntu 16.04桌面版
我在/etc/rc.local文件里写了一行命令
svnserve -d -r /home/svn

系统 启动没有执行
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 写在/etc/rc.local的命令为什么不执行?

#2

帖子 poloshiao » 2017-04-27 12:56

https://ubuntuforums.org/showthread.php?t=2315265
commands on /etc/rc.local

https://askubuntu.com/questions/765120/ ... ng-command
after upgrade to 16.04 LTS rc.local not executing command

https://www.linuxbabe.com/linux-server/ ... th-systemd
How to Enable /etc/rc.local with Systemd
回复