10 Commits

Author SHA1 Message Date
Thomas Lamprecht
d0e0394481 b/postrm: let debhelper generate systemd stuff
With #DEBHELPER# the manual maintained code will be autogenerated, no
need to manually track which services and timers this packages has.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-03-12 15:14:16 +01:00
Thomas Lamprecht
8e144795cc 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 Link
c74a828da0 add systemd timer unit to trigger pvesr run 2017-06-23 10:20:34 +02:00
Dietmar Maurer
9eef3f4801 remove debugging code from postrm 2016-10-06 16:45:51 +02:00
Dietmar Maurer
ec0b4a9817 simply remove /etc/cron.d/pveupdate in postint 2015-09-06 10:37:19 +02:00
Dietmar Maurer
ff9e8b7cb7 depend on systemd, add service files 2015-02-28 12:42:20 +01:00
Dietmar Maurer
9c1493d44a add spiceproxy server 2013-06-26 13:21:14 +02:00
Dietmar Maurer
eccbe1c5d8 remove apache2 dependency
And add init.d script for pveproxy.
2013-04-09 12:31:14 +02:00
Dietmar Maurer
ab71c272cf add startall/stopall API and init script 2012-04-20 09:35:08 +02:00
Dietmar Maurer
5910d3b7bd imported from svn 'pve-manager/pve2' 2011-08-23 07:40:22 +02:00