[vtun/f20] enhanced service file (don't daemonize vtund)
Gabriel L. Somlo
somlo at fedoraproject.org
Thu Nov 20 22:16:06 UTC 2014
commit f55630984085b3f9236cc3ddc3de0f1f80ce183c
Author: Gabriel L. Somlo <somlo at cmu.edu>
Date: Thu Nov 20 17:15:58 2014 -0500
enhanced service file (don't daemonize vtund)
vtun.service | 3 +--
vtun.spec | 5 ++++-
2 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/vtun.service b/vtun.service
index edf21da..a9e6aca 100644
--- a/vtun.service
+++ b/vtun.service
@@ -3,9 +3,8 @@ Description=Virtual Tunnels over TCP/IP networks
After=syslog.target network.target
[Service]
-Type=forking
EnvironmentFile=/etc/sysconfig/vtun
-ExecStart=/usr/sbin/vtund $OPTIONS
+ExecStart=/usr/sbin/vtund -n $OPTIONS
ExecReload=/usr/bin/kill -HUP $MAINPID
KillMode=process
Restart=on-failure
diff --git a/vtun.spec b/vtun.spec
index 38e46ec..a091433 100644
--- a/vtun.spec
+++ b/vtun.spec
@@ -1,6 +1,6 @@
Name: vtun
Version: 3.0.3
-Release: 9%{?dist}
+Release: 10%{?dist}
Summary: Virtual tunnel over TCP/IP networks
License: GPLv2+
Group: System Environment/Daemons
@@ -68,6 +68,9 @@ make install DESTDIR=%{buildroot} INSTALL_OWNER= INSTALL="/usr/bin/install -p"
%{_mandir}/man8/vtund.8*
%changelog
+* Thu Nov 20 2014 Gabriel Somlo <somlo at cmu.edu> 3.0.3-10
+- enhanced service file (-n to prevent daemonizing vtund)
+
* Fri Nov 14 2014 Gabriel Somlo <somlo at cmu.edu> 3.0.3-9
- added /etc/sysconfig/vtun environment file
- updated unit files
More information about the scm-commits
mailing list