configs/paivana: enable compose on reboot
This commit is contained in:
parent
572da9aef9
commit
0bfd8ebc94
1 changed files with 15 additions and 0 deletions
15
configs/paivana/container-koopa-paivana.service
Normal file
15
configs/paivana/container-koopa-paivana.service
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
[Unit]
|
||||||
|
Description=koopa-paivana (Paivana HTTP paywall, GOA)
|
||||||
|
After=network-online.target
|
||||||
|
Wants=network-online.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
RemainAfterExit=yes
|
||||||
|
WorkingDirectory=%h/koopa-paivana
|
||||||
|
ExecStart=/usr/bin/podman compose -f %h/koopa-paivana/compose.yml up -d
|
||||||
|
ExecStop=/usr/bin/podman compose -f %h/koopa-paivana/compose.yml down
|
||||||
|
TimeoutStartSec=600
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
||||||
Loading…
Add table
Add a link
Reference in a new issue