mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Fixups pkg
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user