From f55630984085b3f9236cc3ddc3de0f1f80ce183c Mon Sep 17 00:00:00 2001 From: Gabriel L. Somlo Date: Nov 20 2014 22:15:58 +0000 Subject: enhanced service file (don't daemonize vtund) --- 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 3.0.3-10 +- enhanced service file (-n to prevent daemonizing vtund) + * Fri Nov 14 2014 Gabriel Somlo 3.0.3-9 - added /etc/sysconfig/vtun environment file - updated unit files