mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
some basic config stuff
This commit is contained in:
14
installer/data/systemd/netdata.service
Normal file
14
installer/data/systemd/netdata.service
Normal file
@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=netdata
|
||||
Requires=docker.service
|
||||
After=docker.service
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
ExecStartPre=-/usr/bin/docker stop netdata
|
||||
ExecStartPre=-/usr/bin/docker rm -v netdata
|
||||
ExecStart=/usr/bin/docker run --name netdata --net=host --cap-add=SYS_PTRACE --rm=true -v /proc:/host/proc:ro -v /sys:/host/sys:ro -v /var/run/docker.sock:/var/run/docker.sock dtagdevsec/netdata:latest1610
|
||||
ExecStop=/usr/bin/docker stop netdata
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
14
installer/data/systemd/uifordocker.service
Normal file
14
installer/data/systemd/uifordocker.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
|
13
installer/data/systemd/wetty.service
Normal file
13
installer/data/systemd/wetty.service
Normal file
@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=wetty
|
||||
Requires=sshd.service
|
||||
After=sshd.service
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
User=tsec
|
||||
Group=tsec
|
||||
ExecStart=/usr/bin/node /usr/local/lib/node_modules/wetty/app.js -p 64300 --host 127.0.0.1 --sshhost 127.0.0.1 --sshport 64295
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in New Issue
Block a user