Commit 8e8c2a3e authored by birk's avatar birk
Browse files

updated service definition

parent 400f4ce9
[Unit] [Unit]
Description=Sender Medienarchiv Description=Sender Medienarchiv
After=multi-user.target
[Service] [Service]
Type=simple
User=itz
Environment="DISPLAY=:0"
Environment="XAUTHORITY=/home/msh/.Xauthority"
ExecStart=/home/itz/madek-broadcaster/service/start.sh ExecStart=/home/itz/madek-broadcaster/service/start.sh
Restart=always Restart=always
Environment="DISPLAY=:0"
[Install] [Install]
WantedBy=default.target WantedBy=graphical.target
\ No newline at end of file
#!/bin/sh #!/bin/sh
/home/itz/.virtualenvs/broadcaster/bin/python /home/itz/madek-broadcaster/player/main.py > /home/itz/log 2>&1 #xrandr --output VGA-0 --mode 1920x1080
#xrandr --output VGA-1 --rotate right --mode 1920x1080 --right-of VGA-0 --pos 1920x0
#xrandr --output VGA-2 --mode 1920x1080 --right-of VGA-1 --pos 3000x0
/home/itz/.virtualenvs/broadcaster/bin/python /home/itz/madek-broadcaster/player/main.py > /home/itz/log 2>&1
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment