[Unit] Description=Scanserv Container Wants=network-online.target After=network-online.target [Service] User=scanserv ExecStartPre=/usr/bin/podman pull docker.io/sbs20/scanservjs:{{ scanservjs_version }} ExecStart=/usr/bin/podman run \ --rm -p 127.0.0.1:8006:8080 \ --env "SANED_NET_HOSTS={{ inventory_hostname }}" \ --name scanservjs \ docker.io/sbs20/scanservjs:{{ scanservjs_version }} ExecStop=/usr/bin/podman stop --ignore scanservjs ExecStopPost=/usr/bin/podman rm -f --ignore scanservjs [Install] WantedBy=multi-user.target