Revision 218bcbc4
b/snf-app/debian/postinst | ||
---|---|---|
20 | 20 |
|
21 | 21 |
case "$1" in |
22 | 22 |
configure) |
23 |
chown www-data:www-data /var/log/synnefo/dispatcher.log |
|
24 |
|
|
23 | 25 |
echo "Updating rc.d links... " |
24 | 26 |
update-rc.d snf-dispatcher defaults |
25 | 27 |
echo "Starting snf-dispatcher...\n" |
26 |
if [ -x "/usr/sbin/invoke-rc.d" ]; then
|
|
28 |
if [ -x "/usr/sbin/invoke-rc.d" ]; then
|
|
27 | 29 |
invoke-rc.d snf-dispatcher start |
28 | 30 |
else |
29 | 31 |
/etc/init.d/snf-dispatcher start |
b/snf-app/debian/rules | ||
---|---|---|
19 | 19 |
mkdir -p $(static_dir)admin; |
20 | 20 |
-mv $(admin_static_dir) $(static_dir)admin; |
21 | 21 |
|
22 |
mkdir -p debian/$(package)/var/log/synnefo |
|
23 |
touch debian/$(package)/var/log/synnefo/dispatcher.log |
|
24 |
|
|
22 | 25 |
mkdir -p debian/$(package)/etc/synnefo |
23 | 26 |
for f in api aai backend queues helpdesk invitations plankton ui userdata; do \ |
24 | 27 |
cp $(default_settings_dir)$$f.py \ |
b/snf-common/debian/rules | ||
---|---|---|
15 | 15 |
done |
16 | 16 |
|
17 | 17 |
mkdir -p debian/$(package)/etc/synnefo |
18 |
echo -e "# Place your custom configuration options here\n\n" > debian/$(package)/etc/synnefo/99-local.conf
|
|
18 |
echo "# Place your custom configuration options here\n\n" > debian/$(package)/etc/synnefo/99-local.conf |
|
19 | 19 |
|
20 | 20 |
for f in admins logging; do \ |
21 | 21 |
cp synnefo/settings/default/$$f.py \ |
Also available in: Unified diff