openvpn-unroot icon indicating copy to clipboard operation
openvpn-unroot copied to clipboard

Place systemd unit changes in separate file

Open jonjonw opened this issue 7 years ago • 0 comments

Systemd supports overrides for unit files. Since it looks like you're just adding two values, you could just modify the existing unit file with a .d file.

ie, create a file: /etc/systemd/system/[email protected]/user.conf containing: [Service] User=openvpn Group=openvpn

That way you'll get any fixes in the unit file for openvpn automatically included when there is an upgrade.

jonjonw avatar Sep 29 '18 02:09 jonjonw