mirror of
https://github.com/fscotto/infra.git
synced 2026-09-27 19:03:47 +00:00
15 lines
375 B
Django/Jinja
15 lines
375 B
Django/Jinja
[Unit]
|
|
Description=Podman Compose stack for {{ server_username }}
|
|
Requires=network-online.target
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
WorkingDirectory={{ server_container_stack_dir }}
|
|
ExecStart=/usr/bin/podman-compose up -d
|
|
ExecStop=/usr/bin/podman-compose down
|
|
ExecReload=/usr/bin/podman-compose up -d
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |