ops: paivana and caddy config refresh
This commit is contained in:
parent
d8dbc6242b
commit
56f814a6de
74 changed files with 4517 additions and 79 deletions
28
configs/notes/container-koopa-silverbullet.service
Normal file
28
configs/notes/container-koopa-silverbullet.service
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# container-koopa-silverbullet.service
|
||||
# Install on koopa as hernani (after compose create):
|
||||
# mkdir -p ~/.config/systemd/user
|
||||
# cp configs/notes/container-koopa-silverbullet.service ~/.config/systemd/user/
|
||||
# systemctl --user daemon-reload
|
||||
# systemctl --user enable --now container-koopa-silverbullet.service
|
||||
# Requires: loginctl enable-linger hernani (root, once)
|
||||
#
|
||||
# Container must already exist (podman-compose up -d once).
|
||||
|
||||
[Unit]
|
||||
Description=Podman container-koopa-silverbullet.service (SilverBullet)
|
||||
Documentation=https://silverbullet.md/
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
RequiresMountsFor=/run/user/1000/containers
|
||||
|
||||
[Service]
|
||||
Environment=PODMAN_SYSTEMD_UNIT=%n
|
||||
Restart=always
|
||||
TimeoutStopSec=90
|
||||
ExecStart=/usr/bin/podman start koopa-silverbullet
|
||||
ExecStop=/usr/bin/podman stop -t 20 koopa-silverbullet
|
||||
ExecStopPost=/usr/bin/podman stop -t 20 koopa-silverbullet
|
||||
Type=forking
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue