mirror of
https://github.com/openvswitch/ovs
synced 2025-08-22 09:58:01 +00:00
Systemd unit file generates warnings about PID file path since /var/run is a legacy path so just use /run instead of /var/run. /var/run is a symlink of /run starting from RHEL7 (and any other distribution that uses systemd). Reported-at: https://bugzilla.redhat.com/1952081 Signed-off-by: Timothy Redaelli <tredaelli@redhat.com> Acked-by: Flavio Leitner <fbl@sysclose.org> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
15 lines
373 B
Desktop File
15 lines
373 B
Desktop File
[Unit]
|
|
Description=OVS IPsec daemon
|
|
Requires=openvswitch.service
|
|
After=openvswitch.service
|
|
|
|
[Service]
|
|
Type=forking
|
|
PIDFile=/run/openvswitch/ovs-monitor-ipsec.pid
|
|
ExecStart=/usr/share/openvswitch/scripts/ovs-ctl \
|
|
--ike-daemon=libreswan start-ovs-ipsec
|
|
ExecStop=/usr/share/openvswitch/scripts/ovs-ctl stop-ovs-ipsec
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|