Added release for Raspberry Pi.
This commit is contained in:
parent
bc8592d9f1
commit
876434227e
Binary file not shown.
|
@ -0,0 +1,2 @@
|
|||
dpkg-deb --build debian
|
||||
mv debian.deb ScStwMonitor.deb
|
|
@ -0,0 +1,9 @@
|
|||
Package: ScStwMonitor
|
||||
Version: 1.1
|
||||
Section: base
|
||||
Priority: optional
|
||||
Architecture: armhf
|
||||
Depends: libScStwSharedLibraries (>=1.1.0), xinit (>= 1.4.0-1), x11-xserver-utils (>= 7.7+8+rpi1)
|
||||
Maintainer: Dorian Zedler <dorian@itsblue.de>
|
||||
Description: ScStwMonitor
|
||||
This is the ScStwMonitor Application, used with the ScStw project
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
systemctl enable scstwmonitor.service
|
||||
systemctl daemon-reload
|
||||
systemctl start scstwmonitor.service
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
systemctl disable scstwmonitor.service
|
||||
systemctl daemon-reload
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [[ $1 = upgrade ]]; then
|
||||
systemctl stop scstwmonitor.service
|
||||
fi
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
systemctl stop scstwmonitor.service
|
|
@ -0,0 +1,25 @@
|
|||
[Unit]
|
||||
Description=ScStwMonitor Service
|
||||
#Documentation=man:sshd(8) man:sshd_config(5)
|
||||
After=network.target
|
||||
#ConditionPathExists=!/etc/ssh/sshd_not_to_be_run
|
||||
|
||||
[Service]
|
||||
#ExecStartPre=/usr/sbin/sshd -t
|
||||
ExecStart=xinit /usr/bin/ScStwMonitor --noControls --
|
||||
WorkingDirectory=/
|
||||
User=root
|
||||
StandardOutput=inherit
|
||||
StandardError=inherit
|
||||
#ExecReload=/usr/sbin/sshd -t
|
||||
#ExecReload=/bin/kill -HUP $MAINPID
|
||||
#KillMode=process
|
||||
Restart=on-failure
|
||||
#RestartPreventExitStatus=255
|
||||
#RuntimeDirectory=
|
||||
#RuntimeDirectoryMode=0755
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
#Alias=ScStwBasestation.service
|
||||
|
|
@ -0,0 +1 @@
|
|||
../share/ScStwMonitor/ScStwMonitor.sh
|
Binary file not shown.
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
BASE_DIR=$(dirname "$(readlink -f "$0")")
|
||||
|
||||
# prevent screen blanking
|
||||
sudo xset s off
|
||||
sudo xset -dpms
|
||||
sudo xset s noblank
|
||||
|
||||
# start Monitor
|
||||
"$BASE_DIR"/ScStwMonitor -platform xcb "$@"
|
Loading…
Reference in New Issue