added all files that I have found

This commit is contained in:
2018-06-16 21:43:20 +02:00
parent 65419473ee
commit d0534f2b83
22 changed files with 468 additions and 0 deletions

21
drugstore Executable file
View File

@ -0,0 +1,21 @@
#!/bin/sh
usage() {
printf "\nUsage: ${0} start|restart|stop\n\n"
}
if [ "${#}" -ne 1 ] ; then
printf "\nError: less or more then one command are given.\n"
usage
exit
fi
if ! [[ "${1}" =~ start|restart|stop ]] ; then
printf "\nError: only start, restart or stop are allowed.\n"
usage
exit
fi
thin "${1}" -C cnf/thin.yml
exit 0