feat: add photobooth-app package and overlay
This commit is contained in:
19
board/winf-photobooth/overlay/etc/init.d/S99photobooth
Executable file
19
board/winf-photobooth/overlay/etc/init.d/S99photobooth
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
|
||||
export SLINT_BACKEND=linuxkms
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
start-stop-daemon -S -b -m \
|
||||
-p /run/winf-photobooth-app.pid \
|
||||
-x /usr/bin/winf-photobooth-app \
|
||||
>> /var/log/winf-photobooth-app.log 2>&1
|
||||
;;
|
||||
stop)
|
||||
start-stop-daemon -K -p /run/winf-photobooth-app.pid
|
||||
;;
|
||||
restart)
|
||||
"$0" stop
|
||||
"$0" start
|
||||
;;
|
||||
esac
|
||||
3
board/winf-photobooth/overlay/root/run
Executable file
3
board/winf-photobooth/overlay/root/run
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
SLINT_BACKEND=linuxkms RUST_BACKTRACE=full /usr/bin/winf-photobooth-app 2>log
|
||||
Reference in New Issue
Block a user