commit 6c9e1d692147536a5785e528b5e993d3e4e8e1d8
Author: David Sorber <david.sorber@gmail.com>
Date:   Fri Jan 25 09:00:50 2019 -0500

    Adding logrotate configuration. Version 0.3.0.

diff --git a/software/hbkcd/conf/logrotate/hbkcd b/software/hbkcd/conf/logrotate/hbkcd
new file mode 100644
index 0000000..04c7421
--- /dev/null
+++ b/software/hbkcd/conf/logrotate/hbkcd
@@ -0,0 +1,9 @@
+/var/log/hbkcd/hbkcd.log {
+    rotate 5
+    size 1M
+    compress
+    compresscmd /usr/bin/pbzip2
+    compressext .bz2
+    missingok
+    notifempty
+}
diff --git a/software/hbkcd/install.sh b/software/hbkcd/install.sh
index bec5177..e2086fd 100755
--- a/software/hbkcd/install.sh
+++ b/software/hbkcd/install.sh
@@ -49,7 +49,6 @@ else
         exit -1
     fi 
 fi
-
 printf "\n\n"
 
 # Check each Python module dependency
@@ -85,7 +84,6 @@ else
         exit -1
     fi 
 fi
-
 printf "\n\n"
 
 # Install systemd config
@@ -100,13 +98,16 @@ printf "\n\n"
 ./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 
diff --git a/software/hbkcd/setup.py b/software/hbkcd/setup.py
index aaff392..3d4761f 100755
--- a/software/hbkcd/setup.py
+++ b/software/hbkcd/setup.py
@@ -3,7 +3,7 @@ from setuptools import setup, find_packages
 
 setup(
     name = 'hbkcd',
-    version = '0.2.0',
+    version = '0.3.0',
     description = 'HandBrake Control Daemon',
     packages = find_packages(),
     python_requires = '>=3.6.0',
