
This is still a hack. Something is wrong with permissions upstream. They document 777 as the solution but that should never be a solution. I think I want to explore the container build, especially since the permissions error is reported on github issues #10. They provided an unrelated fix to UID inside the container, but it didn't help about 777.
23 lines
466 B
Text
23 lines
466 B
Text
[Unit]
|
|
Description=IRC client
|
|
|
|
[Service]
|
|
Restart=on-failure
|
|
TimeoutStartSec=900
|
|
|
|
[Install]
|
|
WantedBy=default.target
|
|
|
|
[Container]
|
|
Image=docker.io/weechat/weechat:latest-alpine-slim
|
|
ContainerName=weechat
|
|
HostName=weechat
|
|
AutoUpdate=registry
|
|
|
|
# Persist the full home dir
|
|
# FIXME: requires `chmod 777 /volumes/books/weechat/home/user` on host
|
|
Volume=/volumes/books/weechat/home/user:/home/user
|
|
|
|
# FIXME: Better way to attach stdin and tty
|
|
PodmanArgs=-a stdin --tty=true
|
|
|