Ubunturc. local is not executed

Source: Internet
Author: User
Ubunturc. local does not execute to add the spawn-fcgi-a127.0.0.1-p9000-uwww-data-gwww-data-C5-fphp5-cgi-P/var/run/fastcgi-php.pid to rc. local, the command is not executed after restart. Cause found on the Internet: the first line of rc. local is :#! /Bin/sh-e is this-e, as long

Ubuntu rc. local is not executed

Put spawn-fcgi-a 127.0.0.1-p 9000-u www-data-g www-data-C 5-f php5-cgi-P/var/run/fastcgi-php.pid

Add to rc. local. After restart, the command is not executed.

Reason found on the Internet:

The first line of rc. local is :#! /Bin/sh-e

This is the-e. If any command fails, the script will stop running.

You can run the delete-e command.

However, I did not do this. I directly put the command into the first command line and can execute it.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.