• 5 Posts
  • 69 Comments
Joined 2 months ago
cake
Cake day: March 17th, 2025

help-circle
  • muusemuuse@lemm.eeOPtoLinux@lemmy.mlpinchflat install not going my way
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    7 hours ago

    So I found I had 2 problems. First, I have a Name= line instead of a ContainerName= line in there. Second, diagnosing all this is impossible when theres no shell for that account. Turn on a shell (/bin/bash) for the user, fix this thing, activate it, disable the shell (/bin/nologin), drink heavily.

    I ended up with: -----/fuckingarray/homes/pinchflat/.config/containers/systemd/pinchflat.container----------

    [Unit]
    Description=PinchFlat container
    After=local-fs.target
    
    [Container]
    Image=ghcr.io/kieraneglin/pinchflat:latest
    ContainerName=pinchflat
    UserNS=keep-id
    Volume=/fuckingarray/homes/pinchflat/pinchflatdata/config:/config
    Volume=/fuckingarray/homes/pinchflat/pinchflatdata/downloads:/downloads
    PublishPort=8945:8945
    Environment=TZ=America/New_York
    
    [Install]
    WantedBy=multi-user.target