Project

General

Profile

« Previous | Next » 

Revision 6c9e1d69

Added by David Sorber over 7 years ago

Adding logrotate configuration. Version 0.3.0.

View differences:

software/hbkcd/install.sh
exit -1
fi
fi
printf "\n\n"
# Check each Python module dependency
......
exit -1
fi
fi
printf "\n\n"
# Install systemd config
......
./setup.py install
printf "\n\n"
# Install scripts
# Install scripts and logrotate config
printf "Installing hbkcd scripts..."
install -m 755 scripts/hbkcd_add.sh /usr/local/bin/hbkcd_add
install -m 755 scripts/hbkcd_queue.sh /usr/local/bin/hbkcd_queue
install -m 755 scripts/hbkcd_remove.sh /usr/local/bin/hbkcd_remove
install -m 755 scripts/hbkcd_status.sh /usr/local/bin/hbkcd_status
printf "DONE\n"
printf "Installing logrotate config..."
install -m 644 -o root -g root conf/logrotate/hbkcd /etc/logrotate.d/hbkcd
printf "DONE\n"
printf "\n\n"
# Start or restart hbckd

Also available in: Unified diff