Re: Openvpn: how to start at login?

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

 



Reindl Harald wrote:

>> Before systemd/systemctl came along
>> I just used to say "chkconfig openvpn on".
>> I'm just asking why I can't do the equivalent today?
>> 
>> As far as I know, one can "systemctl enable" every other service.
> 
> how often do we start this discussion
> how did yu enable DIFFERENT openvpn-connections before systemd?

I only had (and have) one openvpn service, so the issue didn't arise.

I assume anyone running more than one openvpn service
(a tiny minority, I imagine)
would realise they had to take steps to deal with this.

> why do you no simply create ION file to do what you like?

Because I didn't know what an ION file was until you gave an example.)

Basically, I don't like to change the default system
more than is absolutely necessary,
as I have little confidence in my ability to understand the implications.
 
> /etc/systemd/system/openvpn.service:
> 
> [Unit]
> Description=OpenVPN
> After=syslog.target network.target network-wlan-bridge.service
> 
> [Service]
> Type=forking
> ExecStart=/usr/sbin/openvpn --daemon --cd /etc/openvpn/ --config
> openvpn.conf Restart=always
> RestartSec=1
> 
> [Install]
> WantedBy=multi-user.target
-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College Dublin


-- 
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
Have a question? Ask away: http://ask.fedoraproject.org


[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