diff --git a/.gitignore b/.gitignore index 6ef556d..ef6a333 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ twittertokens.php spaceapikey.txt +pychromecast diff --git a/systemfiles/systemd/system/beamerdetect.service b/systemfiles/systemd/system/beamerdetect.service new file mode 100644 index 0000000..4c5c02c --- /dev/null +++ b/systemfiles/systemd/system/beamerdetect.service @@ -0,0 +1,10 @@ +[Unit] +Description=lockbutton +After=getty.target + +[Service] +ExecStart=/root/pidor/scripts/beamerdetect.sh +Restart=always + +[Install] +WantedBy=multi-user.target diff --git a/systemfiles/systemd/system/caststatus.service b/systemfiles/systemd/system/caststatus.service new file mode 100644 index 0000000..6ae4aba --- /dev/null +++ b/systemfiles/systemd/system/caststatus.service @@ -0,0 +1,10 @@ +[Unit] +Description=lockbutton +After=getty.target + +[Service] +ExecStart=/root/pidor/scripts/caststatus.py +Restart=always + +[Install] +WantedBy=multi-user.target diff --git a/systemfiles/systemd/system/lockbutton.service b/systemfiles/systemd/system/lockbutton.service new file mode 100644 index 0000000..3ee993b --- /dev/null +++ b/systemfiles/systemd/system/lockbutton.service @@ -0,0 +1,10 @@ +[Unit] +Description=lockbutton +After=getty.target + +[Service] +ExecStart=/root/pidor/scripts/lockbutton.sh +Restart=always + +[Install] +WantedBy=multi-user.target diff --git a/systemfiles/systemd/system/peoplecounter-realtime.service b/systemfiles/systemd/system/peoplecounter-realtime.service new file mode 100644 index 0000000..83d43c0 --- /dev/null +++ b/systemfiles/systemd/system/peoplecounter-realtime.service @@ -0,0 +1,10 @@ +[Unit] +Description=lockbutton +After=getty.target + +[Service] +ExecStart=/root/pidor/scripts/peoplecounter-realtime.sh +Restart=always + +[Install] +WantedBy=multi-user.target diff --git a/systemfiles/systemd/system/ws4beamer_status.service b/systemfiles/systemd/system/ws4beamer_status.service new file mode 100644 index 0000000..f1f6c1a --- /dev/null +++ b/systemfiles/systemd/system/ws4beamer_status.service @@ -0,0 +1,10 @@ +[Unit] +Description=lockbutton +After=getty.target + +[Service] +ExecStart=/root/pidor/scripts/ws4beamer_status.py +Restart=always + +[Install] +WantedBy=multi-user.target diff --git a/www/intallwebsite.sh b/www/intallwebsite.sh index 4e7f2cd..744f5e1 100755 --- a/www/intallwebsite.sh +++ b/www/intallwebsite.sh @@ -1,5 +1,5 @@ #!/bin/bash -cp -pr www/htdocs/* /var/www/ -cp -pr www/cgi-bin/* /usr/lib/cgi-bin/* +cp -pr htdocs/* /var/www/ +cp -pr cgi-bin/* /usr/lib/cgi-bin/ cp -p etc/* /etc/apache2/sites-available a2ensite lights.level2.lu.conf