We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm struggling to set the PORT for the service created by the package. I've tried this in my .pkgr.yml file:
PORT
env: - "PORT=3000"
That seems to affect the pkgr command properly, at least according to --debug:
pkgr
--debug
[2015-09-23T21:23:32-05:00] DEBUG: Found .pkgr.yml file. Updated config is now: #<Pkgr::Config name="onebody", homepage="https://church.io/onebody", description="private member portal for churches, built with Ruby on Rails", changelog="RELEASES.md", license="AGPL", version="3.5.0-pre", env=["PORT=3000"], dependencies=["mysql-server", "libxml2"], compile_cache_dir="/tmp/pkgr-cache", after_install="build/script/deb-post-install", verbose=false, debug=true, buildpacks_cache_dir="/home/tim/.pkgr/buildpacks", vendor="pkgr <https://github.com/crohr/pkgr>", architecture="x86_64", iteration="20150923212229", build_dependencies=[], auto=false, clean=true, edge=true, verify=true>
...but alas, it doesn't affect the services when I do onebody scale web=1, the created service file still has 6000:
onebody scale web=1
tim@debian:~$ cat /etc/systemd/system/onebody-web-1.service [Unit] StopWhenUnneeded=true Requires=onebody-web.service After=onebody-web.service [Service] Environment=PORT=6000 ExecStart=/usr/bin/onebody run web Restart=always StandardOutput=syslog StandardError=syslog SyslogIdentifier=%n [Install] WantedBy=onebody-web.service
What am I missing?
Oh, and great software by the way! I'm super excited about using this to help our users install OneBody more easily. <3 <3 <3
The text was updated successfully, but these errors were encountered:
You should just need to do:
onebody config:set PORT=45678 service onebody restart
Sorry, something went wrong.
Ahhh ok! Don't know why I didn't think of that. Thanks!!
Worked! Thanks again.
No branches or pull requests
I'm struggling to set the
PORT
for the service created by the package. I've tried this in my .pkgr.yml file:That seems to affect the
pkgr
command properly, at least according to--debug
:...but alas, it doesn't affect the services when I do
onebody scale web=1
, the created service file still has 6000:What am I missing?
Oh, and great software by the way! I'm super excited about using this to help our users install OneBody more easily. <3 <3 <3
The text was updated successfully, but these errors were encountered: