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

Add necessary files for creating a package #2

Open
yunchih opened this issue Sep 29, 2017 · 2 comments
Open

Add necessary files for creating a package #2

yunchih opened this issue Sep 29, 2017 · 2 comments

Comments

@yunchih
Copy link
Owner

yunchih commented Sep 29, 2017

Let's start with packaging for ArchLinux.

  1. Need a configuration file template, a Systemd service file for running resrctl
  2. Update the build steps in PKGBUILD.

P.S. I think we can move files related to packaging to a new subdirectory pkg.
Support for other distribution welcomed.

@Techievena
Copy link

@yunchih Can you please assign me to this and brief a bit more about what needs to be done?

@yunchih
Copy link
Owner Author

yunchih commented Sep 30, 2017

@Techievena yes, just do it.

  1. Create a subdirectory pkg
  2. Move PKGBUILD into it
  3. Create Systemd service file and a template configuration file
  4. Put the installation commands into PKGBUILD
  5. The Systemd service file contains the startup command of resrc:
$ resrctl --config /etc/resrc/resrc.yaml

For step 3, 4, you can take ArchLinux's nginx as an example:
https://git.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/nginx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants