我的/etc/rc.local
脚本中有一个命令,它应该在启动期间启动Tiny Tiny RSS的更新守护程序,但在启动期间不执行该脚本。为什么?
整个 /etc/rc.local 文件:
#!/bin/sh -e
#
# 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.
/sbin/start-stop-daemon -b -c www-data:www-data -S -x /usr/bin/php /var/www/ttrss/update_daemon2.php -- -quiet …
Run Code Online (Sandbox Code Playgroud) 我目前正在尝试通过 Ubuntu 的官方软件包在 Ubuntu 12.10 上安装 tt-rss 软件包(Tiny Tiny RSS)。
安装过程似乎有效 - 但我需要运行的文件是 on/usr/share/tt-rss
而不是/var/www/something
.
它显然对我不起作用 - 数据库似乎已设置;一旦我确定我需要 mysql 客户端和服务器,安装过程就完成了,但是网络服务器没有选择 tt-rss 安装。
我还需要做什么才能使 tt-rss 正常工作?