mirror of
https://gitee.com/openharmony/third_party_nghttp2
synced 2024-11-27 01:50:28 +00:00
Substitute bindir in nghttpx-upstart.conf
This commit is contained in:
parent
13660edef2
commit
14adcb2d81
1
contrib/.gitignore
vendored
1
contrib/.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
nghttpx-init
|
||||
nghttpx.service
|
||||
nghttpx-upstart.conf
|
||||
|
@ -21,7 +21,7 @@
|
||||
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
configfiles = nghttpx-init nghttpx.service
|
||||
configfiles = nghttpx-init nghttpx.service nghttpx-upstart.conf
|
||||
|
||||
EXTRA_DIST = $(configfiles:%=%.in) nghttpx-logrotate
|
||||
|
||||
@ -33,7 +33,7 @@ nghttpx-init: %: $(srcdir)/%.in
|
||||
chmod +x $@.tmp
|
||||
mv $@.tmp $@
|
||||
|
||||
nghttpx.service: %: $(srcdir)/%.in
|
||||
nghttpx.service nghttpx-upstart.conf: %: $(srcdir)/%.in
|
||||
$(edit) $< > $@
|
||||
|
||||
$(configfiles): Makefile
|
||||
|
@ -5,4 +5,4 @@ description "HTTP/2 reverse proxy"
|
||||
start on runlevel [2]
|
||||
stop on runlevel [016]
|
||||
|
||||
exec /usr/bin/nghttpx
|
||||
exec @bindir@/nghttpx
|
Loading…
Reference in New Issue
Block a user