migrate from inittab to systemd

master
pidor 2017-03-13 22:26:45 +00:00
parent e5e3bc99f6
commit 61a55181f0
7 changed files with 53 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
twittertokens.php
spaceapikey.txt
pychromecast

View File

@ -0,0 +1,10 @@
[Unit]
Description=lockbutton
After=getty.target
[Service]
ExecStart=/root/pidor/scripts/beamerdetect.sh
Restart=always
[Install]
WantedBy=multi-user.target

View File

@ -0,0 +1,10 @@
[Unit]
Description=lockbutton
After=getty.target
[Service]
ExecStart=/root/pidor/scripts/caststatus.py
Restart=always
[Install]
WantedBy=multi-user.target

View File

@ -0,0 +1,10 @@
[Unit]
Description=lockbutton
After=getty.target
[Service]
ExecStart=/root/pidor/scripts/lockbutton.sh
Restart=always
[Install]
WantedBy=multi-user.target

View File

@ -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

View File

@ -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

View File

@ -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