当我更新我的Symfony2项目时,我总是要这样做:Clearingthe cache for the prod environment with debug true
root@xxx:/var/www/project# chmod -R 777 app/cacheroot@xxx:/var/www
我试图在chmod中运行rc.local命令,以便在启动时执行它。该命令允许访问I2C设备。但是,我需要手动运行rc.local才能工作。我使用的是ubuntu16.04LTS。#!/bin/sh -e# rc.local# This script is executed at the end of each multiuser runlevel.# value on error.# In or