Removed trailing whitespaces with ```sh for file in `grep -r " $" * | cut -d : -f 1 | sort | uniq | grep -v " "`; do sed -i 's/[ \t]*$//' $file; done ``` and some handwork.
move etc/supervisord.conf to conf/etc/supervisord; remove tmp folder, then all logs move to log folder; move the supervisor.pid to /tmp folder.
just like ./gogs_supervisord.sh start ./gogs_supervisord.sh stop ./gogs_supervisord.sh restart and logs all saved tmp folder