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

How is this configuration item(config-files) used #2045

Open
stonma opened this issue Jan 9, 2024 · 0 comments
Open

How is this configuration item(config-files) used #2045

stonma opened this issue Jan 9, 2024 · 0 comments

Comments

@stonma
Copy link

stonma commented Jan 9, 2024

context:
fpm --version
1.14.0

I don't know where to put this file (/usr/lib/systemd/system/openresty.service) , can you help me?

fpm -f -s dir -t rpm --rpm-dist el7 -n apisix-base -a x86_64 -v 1.21.4.1_20240109 --iteration 0 -x openresty/zlib -x openresty/openssl111 -x openresty/pcre -d 'openresty-zlib >= 1.2.12-1' -d 'openresty-openssl111 >= 1.1.1n-1' -d 'openresty-pcre >= 8.45-1' --post-install post-install-apisix-base.sh --description 'APISIX'\''s OpenResty distribution.' --license 'ASL 2.0' -C /tmp/build/output -p /tmp/package/output --url http://apisix.apache.org/ --conflicts openresty --config-files usr/lib/systemd/system/openresty.service --prefix=PACKAGE_PREFIX
Doing `require 'backports'` is deprecated and will not load any backport in the next major release.
Require just the needed backports instead, or 'backports/latest'.
no value for epoch is set, defaulting to nil {:level=>:warn}
Traceback (most recent call last):
        11: from /usr/local/rvm/gems/ruby-2.6.3/bin/ruby_executable_hooks:22:in `<main>'
        10: from /usr/local/rvm/gems/ruby-2.6.3/bin/ruby_executable_hooks:22:in `eval'
         9: from /usr/local/rvm/gems/ruby-2.6.3/bin/fpm:23:in `<main>'
         8: from /usr/local/rvm/gems/ruby-2.6.3/bin/fpm:23:in `load'
         7: from /usr/local/rvm/gems/ruby-2.6.3/gems/fpm-1.4.0/bin/fpm:8:in `<top (required)>'
         6: from /usr/local/rvm/gems/ruby-2.6.3/gems/clamp-0.6.5/lib/clamp/command.rb:132:in `run'
         5: from /usr/local/rvm/gems/ruby-2.6.3/gems/fpm-1.4.0/lib/fpm/command.rb:535:in `run'
         4: from /usr/local/rvm/gems/ruby-2.6.3/gems/clamp-0.6.5/lib/clamp/command.rb:67:in `run'
         3: from /usr/local/rvm/gems/ruby-2.6.3/gems/fpm-1.4.0/lib/fpm/command.rb:475:in `execute'
         2: from /usr/local/rvm/gems/ruby-2.6.3/gems/fpm-1.4.0/lib/fpm/package/rpm.rb:458:in `output'
         1: from /usr/local/rvm/gems/ruby-2.6.3/gems/fpm-1.4.0/lib/fpm/package/rpm.rb:458:in `each'
/usr/local/rvm/gems/ruby-2.6.3/gems/fpm-1.4.0/lib/fpm/package/rpm.rb:460:in `block in output': Config file path /tmp/package-dir-staging20240109-52290-bdb5c9/usr/lib/systemd/system/openresty.service does not exist (RuntimeError)
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