[mgetty] systemd: fix [Install] section

Michal Sekletar msekleta at fedoraproject.org
Fri Aug 8 08:51:37 UTC 2014


commit 388d5056134264f3b1e9275d0bb2945b4a626666
Author: Michal Sekletar <msekleta at redhat.com>
Date:   Fri Aug 8 10:46:03 2014 +0200

    systemd: fix [Install] section
    
    Enable services under correct target. getty at .target doesn't
    exists. Services are now enabled under getty.target.

 mgetty.spec     |    5 ++++-
 mgetty at .service |    2 +-
 vgetty at .service |    2 +-
 3 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/mgetty.spec b/mgetty.spec
index 1a84997..ef153aa 100644
--- a/mgetty.spec
+++ b/mgetty.spec
@@ -9,7 +9,7 @@
 Summary: A getty replacement for use with data and fax modems
 Name: mgetty
 Version: 1.1.36
-Release: 26%{?dist}
+Release: 27%{?dist}
 Source: ftp://mgetty.greenie.net/pub/mgetty/source/1.1/mgetty%{version}-%{date}.tar.gz
 Source1: ftp://mgetty.greenie.net/pub/mgetty/source/1.1/mgetty%{version}-%{date}.tar.gz.asc
 Source2: logrotate.mgetty
@@ -369,6 +369,9 @@ fi
 %{_mandir}/man1/viewfax.1*
 
 %changelog
+* Fri Aug 08 2014 Michal Sekletar <msekleta at redhat.com> - 1.1.36-27
+- Fix [Install] section of unit file. Enable mgetty and vgetty under getty.target
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1.36-26
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
diff --git a/mgetty at .service b/mgetty at .service
index e0312f1..2f6ada8 100644
--- a/mgetty at .service
+++ b/mgetty at .service
@@ -18,7 +18,7 @@ KillMode=process
 IgnoreSIGPIPE=no
 
 [Install]
-WantedBy=getty at .target
+WantedBy=getty.target
 
 
 
diff --git a/vgetty at .service b/vgetty at .service
index e74bacb..1c4b0cf 100644
--- a/vgetty at .service
+++ b/vgetty at .service
@@ -18,4 +18,4 @@ KillMode=process
 IgnoreSIGPIPE=no
 
 [Install]
-WantedBy=getty at .target
+WantedBy=getty.target


More information about the scm-commits mailing list