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

Create RPM File #120

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Create RPM File #120

wants to merge 1 commit into from

Conversation

elwerene
Copy link

@elwerene elwerene commented Jan 7, 2022

I added configurations for https://crates.io/crates/cargo-rpm to create a rpm package.

Installation:

  • user/group alexandrie is created if it doesn't yet exist
  • binary is installed to /usr/bin/alexandrie
  • readonly resources are installed to /usr/share/alexandrie
  • configuration file is installed to /etc/alexandrie.conf
  • a systemd service is installed which starts alexandrie with /etc/alexandrie.conf
  • storage (with write permissions for user alexandrie) is set up with empty directories in /var/db/alexandrie
  • if there's not yet a git repository in /var/db/alexandrie/crate-index, it is setup with the default config.json of the installation script

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.

1 participant