migrate from inittab to systemd
parent
e5e3bc99f6
commit
61a55181f0
|
@ -1,2 +1,3 @@
|
|||
twittertokens.php
|
||||
spaceapikey.txt
|
||||
pychromecast
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=lockbutton
|
||||
After=getty.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/root/pidor/scripts/beamerdetect.sh
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=lockbutton
|
||||
After=getty.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/root/pidor/scripts/caststatus.py
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=lockbutton
|
||||
After=getty.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/root/pidor/scripts/lockbutton.sh
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue