Commit 6277f9ac authored by Dietmar Maurer's avatar Dietmar Maurer

add rgmanager to service list (and remove clvm)

parent 8ec1281b
...@@ -25,7 +25,8 @@ my $service_list = { ...@@ -25,7 +25,8 @@ my $service_list = {
cron => { name => 'CRON', desc => 'Daemon to execute scheduled commands' }, cron => { name => 'CRON', desc => 'Daemon to execute scheduled commands' },
pvedaemon => { name => 'NodeManager', desc => 'PVE node manager daemon' }, pvedaemon => { name => 'NodeManager', desc => 'PVE node manager daemon' },
corosync => { name => 'CMan', desc => 'CMan/Corosync cluster daemon' }, corosync => { name => 'CMan', desc => 'CMan/Corosync cluster daemon' },
clvm => { name => 'CLVM', desc => 'LVM cluster locking daemon' }, # clvm => { name => 'CLVM', desc => 'LVM cluster locking daemon' },
rgmanager => { name => 'RGManager', desc => 'Resource Group Manager daemon' },
pvecluster => { name => 'PVECluster', desc => 'Proxmox VE cluster file system' }, pvecluster => { name => 'PVECluster', desc => 'Proxmox VE cluster file system' },
}; };
...@@ -90,7 +91,9 @@ my $service_cmd = sub { ...@@ -90,7 +91,9 @@ my $service_cmd = sub {
$initd_cmd = '/etc/init.d/cman'; $initd_cmd = '/etc/init.d/cman';
} elsif ($service eq 'clvm') { } elsif ($service eq 'clvm') {
$initd_cmd = '/etc/init.d/clvm'; $initd_cmd = '/etc/init.d/clvm';
} elsif ($service eq 'sshd') { } elsif ($service eq 'rgmanager') {
$initd_cmd = '/etc/init.d/rgmanager';
} elsif ($service eq 'sshd') {
$initd_cmd = '/etc/init.d/ssh'; $initd_cmd = '/etc/init.d/ssh';
} else { } else {
die "unknown service '$service': ERROR"; die "unknown service '$service': ERROR";
...@@ -122,6 +125,8 @@ my $service_state = sub { ...@@ -122,6 +125,8 @@ my $service_state = sub {
$pid_file = '/var/run/corosync.pid'; $pid_file = '/var/run/corosync.pid';
} elsif ($service eq 'clvm') { } elsif ($service eq 'clvm') {
$pid_file = '/var/run/clvmd.pid'; $pid_file = '/var/run/clvmd.pid';
} elsif ($service eq 'rgmanager') {
$pid_file = '/var/run/rgmanager.pid';
} elsif ($service eq 'syslog') { } elsif ($service eq 'syslog') {
$pid_file = '/var/run/rsyslogd.pid'; $pid_file = '/var/run/rsyslogd.pid';
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment