Skip to content
Snippets Groups Projects
Commit 1a1adf3f authored by jkerdreu's avatar jkerdreu
Browse files

Added usefull scripts


git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/trunk@1958 b32b6428-25c9-4566-ad07-03861ab6144f
parent 8052eec4
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
#sleep 10
source /home/xaal/xaal_env/bin/activate
cd ~/run
python3 /home/xaal/tmux_xaal.py
import tmux
sess = tmux.Tmux('xAAL')
sess.add_window("GW","~/run","python -m xaal.zwave")
sess.add_pane("python -m xaal.owm")
#sess.add_pane("python -m xaal.htu21d")
sess.add_window("Web","~/run","python -m xaal.rest")
sess.add_pane("python -m xaal.dashboard")
sess.add_window("TAIL","~/run","xaal-tail 3")
sess.add_pane("xaal-log")
sess.add_window("MetaDB","~/run","python -m xaal.metadb")
sess.add_window("FakeLamp","~/run","python xaal_svn/devices/test/DummyDevices/lamp.py 7c89ced8-5e8c-11e8-b4b3-b827ebc3cbdf")
sess.run()
[Unit]
Description=xAAL Init
After=network.target
[Service]
Type=forking
User=xaal
ExecStart=/home/xaal/run-xaal.sh
[Install]
WantedBy=multi-user.target
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment