mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
modify installer for new config
This commit is contained in:
14
installer/data/systemd/ui-for-docker.service
Normal file
14
installer/data/systemd/ui-for-docker.service
Normal file
@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=uifordocker
|
||||
Requires=docker.service
|
||||
After=docker.service
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
ExecStartPre=-/usr/bin/docker stop uifordocker
|
||||
ExecStartPre=-/usr/bin/docker rm -v uifordocker
|
||||
ExecStart=/usr/bin/docker run --name uifordocker --rm=true -v /var/run/docker.sock:/var/run/docker.sock -p 127.0.0.1:64299:9000 dtagdevsec/ui-for-docker:latest1610
|
||||
ExecStop=/usr/bin/docker stop uifordocker
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in New Issue
Block a user