Thomas Lamprecht
ad7dd5a91f
api: services: propagate "uninstalled" state for units
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-13 18:48:30 +02:00
Thomas Lamprecht
4ec19e8487
api: services: improve state detection for one-shot units
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-13 18:47:05 +02:00
Thomas Lamprecht
48197df2b9
api: services: also track systemd-journald, as syslog is not often there anymore
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-22 18:14:12 +02:00
Thomas Lamprecht
3546270cbc
api: services: return more information
...
we have lots of information already parsed and cached, use that and
give the frontend more to work with/display.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-22 18:13:29 +02:00
Thomas Lamprecht
6d9807b68e
api: services: whitespace cleanup
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-21 16:29:32 +02:00
Thomas Lamprecht
3a000e1193
api: services: track chrony
...
Keep systemd-timesync for now, old installations may have it around
for a while.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-21 16:28:40 +02:00
Thomas Lamprecht
5fa0c20483
api: services: code cleanup
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-21 16:25:27 +02:00
Thomas Lamprecht
3cd0759af0
api/services: fallback to restart in reload
...
And document that it is preferred
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-07-24 15:24:02 +02:00
Thomas Lamprecht
d438bb3e67
api/services: improve essential service check, allow reload and start
...
reload is actually preferred, and even if most of the time this even
won't reach the API, allowing to start them is still definitively
fine!
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-07-24 15:24:02 +02:00
Thomas Lamprecht
05d5632db2
api/services: whitespace cleanup, modern closure call
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-07-24 15:24:02 +02:00
Thomas Lamprecht
7618913027
perl: fix some common typos found with codespell
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-15 10:40:20 +02:00
Emmanuel Kasper
7a58166094
Fix #1386 : track postfix daemon status via postfix@-
2017-05-29 14:52:24 +02:00
Wolfgang Bumiller
28b699bc7b
fix bug #821 : add systemd-timesyncd to service list.
2016-01-22 11:24:21 +01:00
Dietmar Maurer
04fb6e38e5
GUI: add ksmtuned service
2015-06-11 09:29:27 +02:00
Dietmar Maurer
50d4dc1749
implement service API using systemctl
2015-06-05 15:32:14 +02:00
Dietmar Maurer
7a05d783d8
remove all references to apache2
2013-04-16 11:54:25 +02:00
Dietmar Maurer
461e4a46d1
add permissions for service API
2012-02-06 09:38:30 +01:00
Dietmar Maurer
7d020b4246
implement new check attribute for permissions.
...
We use a simple prefix notation to express complex expressions.
2012-01-23 12:18:27 +01:00
Dietmar Maurer
7a9f288ae3
add rgmanager to service list (and remove clvm)
2011-12-22 09:45:48 +01:00
Dietmar Maurer
c661ad50d2
use backgroud tasks for service actions
2011-10-11 10:06:25 +02:00
Dietmar Maurer
2bb9208f71
use CMan instead of corosync
...
because the service is called /etc/init.d/cman (although the
binary running is corosync)
2011-08-26 09:06:16 +02:00
Dietmar Maurer
beb651ee65
removed automake/autoconf, removed unused files
2011-08-23 16:11:04 +02:00