Re: OpenVPN under Fedora-16

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"/etc/init.d" is legacy sysvinit!
look in /lib/systemd/system/

there are openvpn@-services i never understood how they are working
and so i rebuilt the whole package throwing this away and replace
it with my own systemd-unit for F15 where it was not converted

but you can create your own systemd-units and enable them
like "systemctl enable openvpn.service"

[root@rh:~]$ cat /etc/systemd/system/openvpn.service
[Unit]
Description=OpenVPN
After=syslog.target network.target
[Service]
Type=forking
PIDFile=/var/run/openvpn/openvpn.pid
ExecStartPre=
ExecStart=/usr/sbin/openvpn --daemon --writepid /var/run/openvpn/openvpn.pid --cd /etc/openvpn/ --config openvpn.conf
ExecStopPost=
Restart=always
RestartSec=1
[Install]
WantedBy=multi-user.target

Am 10.11.2011 13:38, schrieb Timothy Murphy:
> Is anyone running this?
> There does not appear to be an entry for openvpn in /etc/init.d/ .
> Why is this?
> (Starting openvpn from the command line does not work.)
> Any suggestions?


Attachment: signature.asc
Description: OpenPGP digital signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux