├── .gitignore ├── LICENSE ├── README.md ├── files ├── after.sh ├── cleantrash.sh ├── cmds.sh ├── security │ ├── build-install.sh │ └── sr.te ├── up.py └── up2.py ├── playbooks ├── cron.yml ├── files.yml ├── firewalld.yml ├── httpd-config.yml ├── mysql-config.yml ├── mysql-migrations.yml ├── selinux.yml ├── services.yml ├── software.yml ├── sr-config.yml ├── supervisord.yml └── test.yml ├── real_update.sh ├── setup-ansible.sh ├── setup_mysql.sh ├── templates ├── .my.cnf.j2 ├── cmds.ini.j2 ├── fileserver.ini.j2 ├── frontend.ini.j2 ├── mysql-local.cnf.j2 ├── streamserver.ini.j2 └── vhosts.conf.j2 ├── tmate-share-ssh.sh └── update.sh /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/streamingriver/setup-sr/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/streamingriver/setup-sr/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/streamingriver/setup-sr/HEAD/README.md -------------------------------------------------------------------------------- /files/after.sh: -------------------------------------------------------------------------------- 1 | supervisorctl update 2 | -------------------------------------------------------------------------------- /files/cleantrash.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | find /dev/shm -mmin +1 -name "*.ts" -exec rm {} + 3 | -------------------------------------------------------------------------------- /files/cmds.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/streamingriver/setup-sr/HEAD/files/cmds.sh -------------------------------------------------------------------------------- /files/security/build-install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/streamingriver/setup-sr/HEAD/files/security/build-install.sh -------------------------------------------------------------------------------- /files/security/sr.te: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/streamingriver/setup-sr/HEAD/files/security/sr.te -------------------------------------------------------------------------------- /files/up.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/streamingriver/setup-sr/HEAD/files/up.py -------------------------------------------------------------------------------- /files/up2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/streamingriver/setup-sr/HEAD/files/up2.py -------------------------------------------------------------------------------- /playbooks/cron.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/streamingriver/setup-sr/HEAD/playbooks/cron.yml -------------------------------------------------------------------------------- /playbooks/files.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/streamingriver/setup-sr/HEAD/playbooks/files.yml -------------------------------------------------------------------------------- /playbooks/firewalld.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/streamingriver/setup-sr/HEAD/playbooks/firewalld.yml -------------------------------------------------------------------------------- /playbooks/httpd-config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/streamingriver/setup-sr/HEAD/playbooks/httpd-config.yml -------------------------------------------------------------------------------- /playbooks/mysql-config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/streamingriver/setup-sr/HEAD/playbooks/mysql-config.yml -------------------------------------------------------------------------------- /playbooks/mysql-migrations.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/streamingriver/setup-sr/HEAD/playbooks/mysql-migrations.yml -------------------------------------------------------------------------------- /playbooks/selinux.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/streamingriver/setup-sr/HEAD/playbooks/selinux.yml -------------------------------------------------------------------------------- /playbooks/services.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/streamingriver/setup-sr/HEAD/playbooks/services.yml -------------------------------------------------------------------------------- /playbooks/software.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/streamingriver/setup-sr/HEAD/playbooks/software.yml -------------------------------------------------------------------------------- /playbooks/sr-config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/streamingriver/setup-sr/HEAD/playbooks/sr-config.yml -------------------------------------------------------------------------------- /playbooks/supervisord.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/streamingriver/setup-sr/HEAD/playbooks/supervisord.yml -------------------------------------------------------------------------------- /playbooks/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/streamingriver/setup-sr/HEAD/playbooks/test.yml -------------------------------------------------------------------------------- /real_update.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/streamingriver/setup-sr/HEAD/real_update.sh -------------------------------------------------------------------------------- /setup-ansible.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/streamingriver/setup-sr/HEAD/setup-ansible.sh -------------------------------------------------------------------------------- /setup_mysql.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/streamingriver/setup-sr/HEAD/setup_mysql.sh -------------------------------------------------------------------------------- /templates/.my.cnf.j2: -------------------------------------------------------------------------------- 1 | [client] 2 | user=root 3 | password={{ mysql_root_pw }} 4 | -------------------------------------------------------------------------------- /templates/cmds.ini.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/streamingriver/setup-sr/HEAD/templates/cmds.ini.j2 -------------------------------------------------------------------------------- /templates/fileserver.ini.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/streamingriver/setup-sr/HEAD/templates/fileserver.ini.j2 -------------------------------------------------------------------------------- /templates/frontend.ini.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/streamingriver/setup-sr/HEAD/templates/frontend.ini.j2 -------------------------------------------------------------------------------- /templates/mysql-local.cnf.j2: -------------------------------------------------------------------------------- 1 | [server] 2 | bind-address = 127.0.0.1 3 | -------------------------------------------------------------------------------- /templates/streamserver.ini.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/streamingriver/setup-sr/HEAD/templates/streamserver.ini.j2 -------------------------------------------------------------------------------- /templates/vhosts.conf.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/streamingriver/setup-sr/HEAD/templates/vhosts.conf.j2 -------------------------------------------------------------------------------- /tmate-share-ssh.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/streamingriver/setup-sr/HEAD/tmate-share-ssh.sh -------------------------------------------------------------------------------- /update.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | git pull 4 | ./real_update.sh 5 | --------------------------------------------------------------------------------