
It makes more sense to wrap every quadlet in its own dir. This makes it easier to copy a quadlet with batteries included for apps that require a valid config to be useful.
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
|
|
|