mirror of
https://github.com/sibprogrammer/owp.git
synced 2026-04-25 07:25:53 +03:00
[GH-ISSUE #17] Cannot set to autostart owp if installed in container #1
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/owp#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mrkmg on GitHub (May 16, 2012).
Original GitHub issue: https://github.com/sibprogrammer/owp/issues/17
OS:
Debian Linux 2.6.32-5-openvz-amd64 x86_64 GNU/Linux
OWP: 2.1
Installed via the installer script.
I installed owp into an openvz container. I noticed that on reboot of the container, owp was not starting. Starting it via
service owp startworked without any problems. So I ranupdate-rc.d owp defaultsand found the issue to be a startup requirement on vz. Seeing as vz is not running in a container, I removed that requirement from /etc/init.d/owp and then update-rc.d worked without fail. Maybe there could be some sort of detection if owp is being installed in a container/system without vz and only place that requirement if vz is installed.@jnorell commented on GitHub (Dec 11, 2013):
This may not be an issue now; I just installed OWP 2.4 in a container running debian-7.0-x86_64 template and the init script works fine (and it still has the Required-Start: vz).