first commit

This commit is contained in:
Raven Scott
2022-05-31 18:28:17 -05:00
commit 754955ce15
119 changed files with 5925 additions and 0 deletions

2
install/s2l/input.sh Normal file
View File

@ -0,0 +1,2 @@
#!/bin/bash
screen -S s2l -X stuff "${*}^M"

12
install/s2l/s2l-pm2.json Normal file
View File

@ -0,0 +1,12 @@
{
"apps": [
{
"name": "s2l",
"script": "ttyd -R -p changeme screen -x s2l",
"args" : "",
"error_file": "/dev/null",
"log_file": "/dev/null"
}
]
}

View File

@ -0,0 +1,13 @@
[Unit]
Description=Screen2Log Backend for CMDBOT.Service
After=network.target
StartLimitIntervalSec=0
[Service]
Type=simple
Restart=always
RestartSec=1
User=root
ExecStart=/bin/bash -c 'screen -mdS s2l -s bash'
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target