Am 26.08.2012 00:00, schrieb Timothy Murphy:
Marko Vojinovic wrote:
> In what sense openvpn *doesn't* run like every other service?
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?
why do you no simply create ION file to do what you like?
/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