-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Problem running on OpenVZ #129 again #583
Comments
On Debian 9 the copy of unit file
You will still see the description from |
Found the problem.
You can see, the The order should be
|
On Debian 9 the copy of unit file `/etc/systemd/system/openvpn@.service` has no effect, see angristan#583. Same problem as angristan#129 and angristan#378, unit can not start on OpenVZ. There must execute `systemctl enable` before `systemctl restart`. So the new link to `/etc/systemd/system/openvpn@.service` was created before `systemctl restart`.
Not sure about this. I tried producing your example but it works for me (editing |
Is it a specific system/debian problem? It is repuducable every time, becaus under OpenVZ the unit will not run with LimitNPROC. Here a complete check. Copy this into a script, and run it with
This is the output:
Only the
Debian 10:
|
Yes a reboot would work, because the symlink is correctly after the install. |
Thanks for the script. Systemd is behaving in a really weird manner but... okay. |
On Debian 9 the copy of unit file `/etc/systemd/system/openvpn@.service` has no effect, see #583. Same problem as #129 and #378, unit can not start on OpenVZ. It must execute `systemctl enable` before `systemctl restart`. So the new link to `/etc/systemd/system/openvpn@.service` was created before `systemctl restart`.
Thanks for your time by the way. |
On Debian 9 the copy of unit file `/etc/systemd/system/openvpn@.service` has no effect, see angristan#583. Same problem as angristan#129 and angristan#378, unit can not start on OpenVZ. It must execute `systemctl enable` before `systemctl restart`. So the new link to `/etc/systemd/system/openvpn@.service` was created before `systemctl restart`. Fix angristan#583
The issure #129 again.
The modifired file
/etc/systemd/system/openvpn@.service
seams not used by Debian 9.I need to fix the file
/lib/systemd/system/openvpn@.service
, and comment out the LimitNPROC, to get it working.The text was updated successfully, but these errors were encountered: