Skip to content

Instantly share code, notes, and snippets.

@bestpika
Last active June 28, 2016 02:47
Show Gist options
  • Save bestpika/10fa7f3bdb9da9108387ed5a6440a515 to your computer and use it in GitHub Desktop.
Save bestpika/10fa7f3bdb9da9108387ed5a6440a515 to your computer and use it in GitHub Desktop.

init.d

#!/bin/sh /etc/rc.common

START=999

start() {
    sleep 30
    # . /etc/profile
    # echo $PATH
    cd ~/ && python app.py &
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment