[pve-devel] [PATCH] cephserver : add systemd support

Dietmar Maurer dietmar at proxmox.com
Tue May 17 08:11:05 CEST 2016


> +    if(-f "/lib/systemd/system/ceph-osd at .service") {
> +        if ($service =~ m/^(\S+)\.(\d+)$/) {
> +	    $service = "ceph-$1@$2";
> +	    PVE::Tools::run_command(['setsid', '/bin/systemctl', $action,
> $service]);


and setsid is still required here?




More information about the pve-devel mailing list