Update sniper

Init postgresql with service command (not systemctl for compatibility purposes)
This commit is contained in:
Alexis6307 2019-06-20 10:21:52 +02:00 committed by GitHub
parent 3eb6375516
commit 3c380d02ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

3
sniper
View File

@ -8,6 +8,9 @@ INSTALL_DIR="/usr/share/sniper"
LOOT_DIR="$INSTALL_DIR/loot/$TARGET"
SNIPER_PRO=$INSTALL_DIR/pro.sh
# INIT POSTGRESQL
service postgresql start
# LOAD SNIPER CONFIGURATION FILE
if [ -f ~/.sniper.conf ]; then
source ~/.sniper.conf