Skip to content

Give systemd units a deploy seam instead of hardcoded user/paths #1

Description

@jnf

The MPD/CAVA configs stay generic via the mpd_local.conf include seam, so a fresh clone deploys cleanly. The systemd units don't have an equivalent: cava.service/crust.service hardcode User=jey, ExecStart=/home/jey/crust, and -p /home/jey/.config/cava/config. Today SETUP.md just tells you to edit them by hand before copying.

Worth exploring a cleaner seam:

  • an untracked EnvironmentFile= for User/paths,
  • systemd specifiers (%h, etc.),
  • or a tiny install script that substitutes values on deploy.

Tradeoff: any of these adds machinery vs. a one-time manual edit. Low priority — documenting the edit points works fine for now.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions