Hi,
I'm currently writing a small python program utilizing an adafruit lcd plate (http://www.adafruit.com/product/1110) to add simple controls to my raspi running rune audio 0.3beta. The program works fine so far (https://git.devlol.org/rupi/mpdplate/tree/master if anyone is interested). I have a lot of troubles with systemd (this project is my first contact with arch linux as well as systemd).
I post this message here because I'm not sure if some of my troubles aren't specific to rune audio startup tunings...
The problem seems to originate in a failure with time.sleep(n) and system time..
A mpdisplay.service file with
[Service]
Type=simple
User=mpdisplay
ExecStart=/usr/src/mpdplate/mpdisplay
RestartSec=60
Restart=always
does not restart my service:
Active: failed (Result: exit-code) since Thu 1970-01-01 01:00:24 CET; 44 years 11 months ago
I have no idea why. If I later restart the service it runs fine. It also restarts fine if I kill it.
I have how to get some debugging info,
[Service]
StandardError=kmsg
doesn't seem to work.
Any help would be appreciated.
rupi
[EDIT]
I found this forum post:
auto-play-music-t694.html#p4402
So I added the following line to rune_SY_wrk:
sysCmd('systemctl start mpdisplay');
It now works. For some values of works anyway.