Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Place systemd unit changes in separate file #10

Open
jonjonw opened this issue Sep 29, 2018 · 0 comments
Open

Place systemd unit changes in separate file #10

jonjonw opened this issue Sep 29, 2018 · 0 comments

Comments

@jonjonw
Copy link

jonjonw commented Sep 29, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant