Commit 8a804c1c authored by Thomas Tsiakalakis's avatar Thomas Tsiakalakis

fixed systemd unit

parent c7b284de
......@@ -7,10 +7,10 @@ Type=simple
ExecStartPre=/bin/dmesg -D
ExecStartPre=/bin/bash -c '/bin/echo 0 > /sys/class/graphics/fbcon/cursor_blink'
ExecStart=/opt/imageshow/server.py
ExecStopPre=/bin/dmesg -E
ExecStopPre=/bin/bash -c '/bin/echo 1 > /sys/class/graphics/fbcon/cursor_blink'
ExecStop=/bin/dmesg -E
ExecStop=/bin/bash -c '/bin/echo 1 > /sys/class/graphics/fbcon/cursor_blink'
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target
\ No newline at end of file
WantedBy=graphical.target
Markdown is supported
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