api2/node/syslog: use 'real_service_name' here also
for now this only does the 'postfix' -> 'postfix@-' conversion, fixes the issue that we only showed the 'postfix' service syslog (which is rather empty in a default setup) instead of the instance one Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
committed by
Thomas Lamprecht
parent
beb07279b6
commit
1d8f849457
@ -22,7 +22,7 @@ static SERVICE_NAME_LIST: [&str; 7] = [
|
||||
"systemd-timesyncd",
|
||||
];
|
||||
|
||||
fn real_service_name(service: &str) -> &str {
|
||||
pub fn real_service_name(service: &str) -> &str {
|
||||
|
||||
// since postfix package 3.1.0-3.1 the postfix unit is only here
|
||||
// to manage subinstances, of which the default is called "-".
|
||||
|
||||
Reference in New Issue
Block a user