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

feat: support manager-api systemd startup script #36

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

totemofwolf
Copy link

No description provided.

@@ -31,6 +32,8 @@ RUN set -x \
&& mkdir gopath \
&& go env -w GOPROXY=https://goproxy.cn,direct \
&& cd /tmp/ \
# add startup script
&& curl --silent --location https://raw.githubusercontent.com/totemofwolf/apisix-build-tools/service/deps/manager-api.service | tee /tmp/build/output/apisix/dashboard/usr/lib/systemd/system/manager-api.service \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@totemofwolf I was wondering that if we should use the manager-api.service file within this commit? Thanks.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like you have put it in deps/manager-api.service, so don't need to download it, just need to mv...

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like you have put it in deps/manager-api.service, so don't need to download it, just need to mv...

Yes u r right. But now I can't find a suitable way to do this. ;-)

Copy link
Collaborator

@nic-chen nic-chen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi @totemofwolf,
I think we also need to add documentation on how to start and stop with service.
others LGTM. Thanks!

@totemofwolf
Copy link
Author

hi @totemofwolf,
I think we also need to add documentation on how to start and stop with service.
others LGTM. Thanks!

Add it in README.md ? or

@nic-chen
Copy link
Collaborator

nic-chen commented Apr 2, 2021

hi @totemofwolf,
I think we also need to add documentation on how to start and stop with service.
others LGTM. Thanks!

Add it in README.md ? or

README.md is OK

Copy link
Contributor

@membphis membphis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nic-chen
Copy link
Collaborator

ping @totemofwolf

@starsz
Copy link
Contributor

starsz commented Apr 16, 2021

Maybe we can add test cases to cover it.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ totemofwolf
❌ johzchen
You have signed the CLA already but the status is still pending? Let us recheck it.

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

Successfully merging this pull request may close these issues.

7 participants