diff options
Diffstat (limited to 'scripts/db.sh')
| -rwxr-xr-x | scripts/db.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/db.sh b/scripts/db.sh new file mode 100755 index 00000000..e3529058 --- /dev/null +++ b/scripts/db.sh @@ -0,0 +1,6 @@ +#!/bin/bash +#simple script to daemonize the database +#to kill use kill $(cat db.pid) +./pgweb_linux_amd64 -s --bookmark=investorsdb --bind="192.168.9.70" > db.log & echo $! > db.pid +disown + |
