15 Commits

Author SHA1 Message Date
Milamber
6051fa503a Fix a little issue from PR1610 if the db.properties file hasn't EOL character at the end of file
And some improvements about the dir/file using variables
2016-08-30 08:29:06 +01:00
Wido den Hollander
343ea6098e
packaging: Add db.X.driver=jdbc:mysql to db.properties on upgrade
This is required afther the upgrade to 4.9.0 and for convience we
add this to the configuration so our users do not have to.
2016-07-12 10:13:23 +02:00
Felix Geyer
b77198def5 Use invoke-rc.d instead of service to stop tomcat.
Debian policy requires that invoke-rc.d is used.

Signed-off-by: Wido den Hollander <wido@widodh.nl>
2015-03-05 14:39:54 +01:00
Felix Geyer
71b42e266f Use /bin/sh and set -e uniformly in maintainer scripts.
Signed-off-by: Wido den Hollander <wido@widodh.nl>
2015-03-05 14:35:53 +01:00
Felix Geyer
6ce9729580 Add DEBHELPER tokens to maintainer script.
dh_* tools insert their scripts there.

Signed-off-by: Wido den Hollander <wido@widodh.nl>
2015-03-05 14:35:53 +01:00
Rohit Yadav
b9f705f238 debian: remove old cache after upgrade
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit d4ead2c72ad8d761b87e1672552a67c7cfeff51b)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-07 01:39:43 +05:30
Rohit Yadav
4179ccbf55 debian: stop tomcat6 after installing cloudstack-management
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-12 17:34:44 +02:00
Wei Zhou
57ba367f3c CLOUDSTACK-5042: change cloud.keystore to cloudmanagementserver.keystore and install it (cherry picked from commit de448ec4792eda5b47d79b26e9cb8ce96a2b22f4) 2013-11-08 09:00:29 +01:00
Wido den Hollander
a773ed88b7 debian: Management server packaging fixes
We should be carefull what we package since all configuration should
be in /etc/cloudstack/management

Signed-off-by: Wido den Hollander <wido@widodh.nl>
2013-04-05 16:13:42 +02:00
Wido den Hollander
d80d8d8a67 Remove db-enc.properties
This seemed to be used with Ant, but there is no other reference to this file.

It shouldn't be here and isn't used. It only confuses people.
2013-04-04 08:51:38 +02:00
Wido den Hollander
44a0facd38 debian: Copy management server configuration from old location
Signed-off-by: Wido den Hollander <wido@42on.com>
2013-03-31 14:16:31 +02:00
Brian Spindler
ae3a048350 CLOUDSTACK-1736: Changes required to get cloudstack-management service
working again.

The newly created package for cloudstack-management was not correctly
installing the service. This prevented cloud-setup-management from being
able to configure the service, and the init script didn't even believe
the service was installed. I also added sudo to the chmod command for
checking script permissions, as most scripts belong to root. It was
trying to configure the agent with cloudstack-setup-agent but the script
was still called cloud-setup-agent, so I renamed it to cloudstack-setup-agent.
2013-03-25 17:23:18 +00:00
Wido den Hollander
aee6fc3bce debian: Copy the contents of the old ~cloud directory to the new location 2013-03-12 14:26:10 +01:00
Wido den Hollander
579b02756f debian: Change the homedir of the user 'cloud' 2013-03-05 16:10:38 +01:00
Noa Resare
2f135be15f CLOUDSTACK-1415: Debian & Ubuntu packaging work
Some concepts included:

* the replace.properties location used by maven is parameterized to allow
  for a build that does not modify the currently git tracked files
* package naming is updated along the lines of what was discussed on the
  -dev mailing list and between committers at the Build a Cloud Day in Belgi
* package version pattern is updated (since we redo all package names,
  we might as well drop the epoch)
2013-02-27 15:44:46 +00:00