Fixups pkg

This commit is contained in:
DanB
2013-08-02 17:36:47 +02:00
parent 230571c632
commit 10f46f348a
2 changed files with 4 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ PKG_DIR=/tmp/cgrates_$1
rm -rf $PKG_DIR
cp -r skel $PKG_DIR
chmod -R a-s $PKG_DIR/DEBIAN/
cp ../conf/cgrates.cfg $PKG_DIR/etc/cgrates/
cp ../conf/cgrates.cfg $PKG_DIR/etc/cgrates/cgrates.cfg
cp -r ../../data/ $PKG_DIR/usr/share/cgrates/
cp /usr/local/goapps/bin/cgr-* $PKG_DIR/usr/bin/
dpkg-deb --build $PKG_DIR

View File

@@ -1,4 +1,6 @@
#!/bin/sh
echo Running CGRateS service
echo Firing up CGRateS engine
exec /usr/bin/cgr-engine -config /etc/cgrates/cgrates.cfg