now, we auto add the start.sh -> /usr/bin/gogs_start, then supervisor needn’t the full path, detail please see the commit. and how to use: entry gogs root path, then input scripts/gogs_supervisord.sh restart (add sudo if need)
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