Added a lot of installation housekeeping (update-rc.d, create folders, etc)
This commit is contained in:
@@ -2,4 +2,4 @@
|
||||
|
||||
cd /home/prod/Smallwebs/Activizr-repo/
|
||||
reprepro includedeb squeeze $1
|
||||
cd /home/packager/packaging/
|
||||
cd /home/packager/swarmops/
|
||||
|
||||
@@ -2,7 +2,7 @@ Package: swarmops-backend
|
||||
Version: --BuildNumber--
|
||||
Architecture: all
|
||||
Maintainer: Rick Falkvinge (swarmops-maintain@falkvinge.net)
|
||||
Depends: swarmops-common
|
||||
Depends: swarmops-common,mono-runtime,libmono-corlib2.0-cil,libmono-corlib4.0-cil,libmono-posix2.0-cil,libmono-posix4.0-cil,libmono-system-data2.0-cil,libmono-system-data4.0-cil
|
||||
Conflicts: swarmops-backend-internal
|
||||
Homepage: http://swarmops.com/
|
||||
Description: Swarmops Backend
|
||||
|
||||
@@ -2,7 +2,6 @@ Package: swarmops-common-internal
|
||||
Version: --BuildNumber--
|
||||
Architecture: all
|
||||
Maintainer: Rick Falkvinge (swarmops-maintain@falkvinge.net)
|
||||
Depends:
|
||||
Conflicts: swarmops-common
|
||||
Homepage: http://swarmops.com/
|
||||
Description: Swarmops Common
|
||||
|
||||
@@ -2,7 +2,6 @@ Package: swarmops-common
|
||||
Version: --BuildNumber--
|
||||
Architecture: all
|
||||
Maintainer: Rick Falkvinge (swarmops-maintain@falkvinge.net)
|
||||
Depends:
|
||||
Conflicts: swarmops-common-internal
|
||||
Homepage: http://swarmops.com/
|
||||
Description: Swarmops Backend
|
||||
|
||||
@@ -2,7 +2,7 @@ Package: swarmops-frontend-internal
|
||||
Version: --BuildNumber--
|
||||
Architecture: all
|
||||
Maintainer: Rick Falkvinge (swarmops-maintain@falkvinge.net)
|
||||
Depends: swarmops-common-internal, apache2 (>= 2.2.20), mono-apache-server2 (>= 2.10-1), libapache2-mod-mono (>= 2.10-1)
|
||||
Depends: swarmops-common-internal, apache2 (>= 2.2.20), mono-apache-server2 (>= 2.10-1), libapache2-mod-mono (>= 2.10-1), libgdiplus (>= 2.10-3)
|
||||
Conflicts: swarmops-frontend
|
||||
Homepage: http://swarmops.com/
|
||||
Description: Swarmops Frontend
|
||||
|
||||
@@ -2,7 +2,7 @@ Package: swarmops-frontend
|
||||
Version: --BuildNumber--
|
||||
Architecture: all
|
||||
Maintainer: Rick Falkvinge (swarmops-maintain@falkvinge.net)
|
||||
Depends: swarmops-common, apache2 (>= 2.2.20), mono-apache-server2 (>= 2.10-1), libapache2-mod-mono (>= 2.10-1)
|
||||
Depends: swarmops-common, apache2 (>= 2.2.20), mono-apache-server2 (>= 2.10-1), libapache2-mod-mono (>= 2.10-1), libgdiplus (>= 2.10-3)
|
||||
Conflicts: swarmops-frontend-internal
|
||||
Homepage: http://swarmops.com/
|
||||
Description: Swarmops Frontend
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
#! /bin/bash
|
||||
|
||||
#todo: register
|
||||
echo "Swarmops post-installation script running"
|
||||
#make sure some directories exist
|
||||
mkdir -p /opt/swarmops/upload
|
||||
mkdir -p /opt/swarmops/backend/logs
|
||||
#todo: check for database upgrade
|
||||
#start the daemon
|
||||
/etc/init.d/swarmops-backend start
|
||||
#register the daemon
|
||||
update-rc.d swarmops-backend defaults 90 10
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
#! /bin/bash
|
||||
|
||||
echo "Swarmops Frontend post-installation script running"
|
||||
#just make sure the upload folder exists
|
||||
mkdir -p /opt/swarmops/upload
|
||||
@@ -1,5 +1,5 @@
|
||||
#! /bin/bash
|
||||
|
||||
#todo: unregister
|
||||
update-rc.d -f swarmops-backend remove
|
||||
/etc/init.d/swarmops-backend stop
|
||||
|
||||
|
||||
Reference in New Issue
Block a user