Commit Graph

29 Commits

Author SHA1 Message Date
Thomas Lamprecht
57de747b0c rename pve-manager.service to pve-guests
the name 'pve-manager' collides with our pve-manager package name,
which - from the user point of view - provides mainly the API and
WebUI.
An user could thus think that restarting 'pve-manager' would restart
the WebUIs server, which is relatable.
But, the pve-manager.service does not controls the WebUI or its
server but is responsible for starting all guest with 'onboot=1' in
their config on system boot and to stop all remaining running guests
on system shutdown.

Thus rename it to pve-guests and adapt its description. This may not
seem as ideal name at first glance, but its better than the current
option. Further it leads to log messages like:
 > Starting PVE guests (Service providing start-on-boot and stop-all-on-shutdown)
 > [...]
 > Started PVE guests (Service providing start-on-boot and stop-all-on-shutdown)
 > [...]
 > Stopping PVE guests (Service providing start-on-boot and stop-all-on-shutdown)

which makes it clearer what happens, or what this service is for.

Alias the new service to the old pve-manager.service for legacy
reasons. While our services do not depend on it an user could have
made an own service which used pve-manager.service as synchronisation
point.

Linitian then complains about init.d/pve-manager not having a related
systemd service file. Instead of renmaning it just drop it.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-09-11 09:34:02 +02:00
Wolfgang Bumiller
85fd9b52ae Revert "trust StartCom_Certification_Authority_2.crt"
This reverts commit 12fe9183cb.

Revert "add missing file"

This reverts commit c11885e0a0.

We've switched to Let's Encrypt.

postinst configure: run update-ca-certificates if the
  previous version is <= 5.0-23.
2017-07-19 09:38:49 +02:00
Dietmar Maurer
12fe9183cb trust StartCom_Certification_Authority_2.crt 2017-07-04 11:48:52 +02:00
Wolfgang Link
0dfd4a9413 add systemd timer unit to trigger pvesr run 2017-06-23 10:20:34 +02:00
Fabian Grünbichler
2bde88fb3f fix ceph.service for Ceph Jewel >= 10.2.6
having our ceph.service pulled in by ceph.target does not
work anymore, because "systemctl start ceph.target" hangs
forever on ceph-common upgrades. multi-user.target seems to
work as well, and we are ordered after pve-cluster anyway.

only replace the old ceph.service if it is an exact match.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2017-03-13 14:20:14 +01:00
Dietmar Maurer
f13b954026 remove old/usused init.d files in postinst 2015-10-24 10:35:20 +02:00
Dietmar Maurer
0deec38780 remove unnecessary hint about cronjob 2015-09-06 10:33:54 +02:00
Dietmar Maurer
e1f0dcce35 run pveupdate in the night between 2:00 and 6:00 2015-09-06 10:32:09 +02:00
Dietmar Maurer
8891d66fb2 /etc/cron.d/pveupdate: always write file in postinstall
so that we can change times in future
2015-09-06 10:30:57 +02:00
Wolfgang Link
c93559150b improve pveupdate with random start time
this is important to avoid that all PVE nodes start the update procedure at the same time
2015-09-06 10:07:48 +02:00
Dietmar Maurer
81019d9d4b avoid trigger errors if daemons are stopped 2015-06-01 13:03:08 +02:00
Dietmar Maurer
a55fbccc5b use systemd command reload-or-restart instead of reload
So that stopped services gets restarted.
2015-03-03 07:02:02 +01:00
Dietmar Maurer
32607384dc avoid shell scripts in service definitions 2015-03-02 18:29:18 +01:00
Dietmar Maurer
6675a0648f depend on systemd, add service files 2015-02-28 12:42:20 +01:00
Dietmar Maurer
33afb29b29 add spiceproxy server 2013-06-26 13:21:14 +02:00
Dietmar Maurer
ad2c976367 use shorter login message
And avoid to use debian version, because that changes over time and
it is clumsy to keep in sync.
2013-06-17 11:22:33 +02:00
Dietmar Maurer
0c308a030e remove apache2 dependency
And add init.d script for pveproxy.
2013-04-09 12:31:14 +02:00
Dietmar Maurer
d0e55a8553 setup /etc/lsb-base-logging.sh in postinst 2013-03-26 07:16:26 +01:00
Dietmar Maurer
b92400b6a7 add startall/stopall API and init script 2012-04-20 09:35:08 +02:00
Dietmar Maurer
75a6a7f545 download aplinfo inh postinst script 2012-02-21 12:15:10 +01:00
Dietmar Maurer
c916497537 implement template download
Also added turnkeylinux.com
2012-02-21 11:45:30 +01:00
Dietmar Maurer
2be8175a7e use correct syntax for update-rc.d
Some versions complain about the missing dot.
2012-02-16 09:36:47 +01:00
Dietmar Maurer
341e4b0bfa fix postinst script and Backup GUI 2012-02-10 11:21:07 +01:00
Dietmar Maurer
7aa2bc3b44 use bash in postint script to avoid lintian warning 2012-01-24 12:12:34 +01:00
Dietmar Maurer
782bc23290 add new pvemailforward helper
And automatically install a .forward file.
2012-01-18 09:45:54 +01:00
Dietmar Maurer
343b69827f do not create /etc/cron.d/vzdump in postinst 2011-10-24 07:46:45 +02:00
Dietmar Maurer
099e5477e8 avoid error in triggers
test if /etc/pve is mounted; else simple exit
2011-10-04 07:04:30 +02:00
Dietmar Maurer
004dc4cd3e Fix startup order
Also depend on redhat-cluster-pve
2011-08-30 15:17:23 +02:00
Dietmar Maurer
aff192e6f5 imported from svn 'pve-manager/pve2' 2011-08-23 07:40:22 +02:00