]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/commitdiff
ntp: Install ntpd with the Base group and enable by default
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 5 Sep 2015 17:45:54 +0000 (19:45 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sat, 5 Sep 2015 17:45:54 +0000 (19:45 +0200)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
ntp/ntp.nm

index ba72e629398e6ea846dc1eb838af757baff19646..780ad0181ba3003fb16265ba4fb7690ab277c825 100644 (file)
@@ -6,7 +6,7 @@
 name       = ntp
 version    = %{ver_major}.8
 ver_major  = 4.2
-release    = 1
+release    = 2
 
 groups     = System/Daemons
 url        = http://www.ntp.org/
@@ -130,6 +130,8 @@ end
 
 packages
        package %{name}
+               groups += Base
+
                requires
                        ntpdate = %{thisver}
                end
@@ -140,6 +142,7 @@ packages
 
                script postin
                        systemctl daemon-reload >/dev/null 2>&1 || :
+                       systemctl --no-reload enable ntpd.service >/dev/null 2>&1 || :
                end
 
                script preun