start new:
tmux
start new with session name:
tmux new -s myname
| #! /bin/bash | |
| ### BEGIN INIT INFO | |
| # Provides: yourapp | |
| # Required-Start: nginx | |
| # Required-Stop: | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: The main django process | |
| # Description: The gunicorn process that receives HTTP requests | |
| # from nginx |
| #! /bin/sh | |
| ### BEGIN INIT INFO | |
| # Provides: autosshd | |
| # Required-Start: $remote_fs $syslog | |
| # Required-Stop: $remote_fs $syslog | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: autosshd initscript | |
| # Description: This file should be used to construct scripts to be | |
| # placed in /etc/init.d. |