From a90a8b1cb3104ee3250ac79d6e25a9ff4f527baa Mon Sep 17 00:00:00 2001 From: ckonstanski Date: Tue, 24 Oct 2017 19:38:42 -0600 Subject: Gentoo: Use "rc-service" rather than "service". The "service" command will be disappearing soon from Gentoo"s openrc package. The "rc-service" command is preferred. LP: #1727121 --- cloudinit/distros/gentoo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudinit/distros/gentoo.py b/cloudinit/distros/gentoo.py index 0ad2f032..dc57717d 100644 --- a/cloudinit/distros/gentoo.py +++ b/cloudinit/distros/gentoo.py @@ -24,7 +24,7 @@ class Distro(distros.Distro): network_conf_fn = '/etc/conf.d/net' resolve_conf_fn = '/etc/resolv.conf' hostname_conf_fn = '/etc/conf.d/hostname' - init_cmd = ['service'] # init scripts + init_cmd = ['rc-service'] # init scripts def __init__(self, name, cfg, paths): distros.Distro.__init__(self, name, cfg, paths) -- cgit v1.2.3