by phibon » Wed Apr 29, 2015 6:21 am
$this->bbcode_second_pass_quote('', 'I') think it needs to be
$this->bbcode_second_pass_code('', '
ExecStart=/usr/bin/bash /usr/bin/irswitch
')
Hmm, stil no joy.
Also tried it with :
$this->bbcode_second_pass_code('', '
ExecStart=/bin/bash /usr/bin/irswitch
')
since bash is located in /bin but that does not work either.
I guess it is not necessary to put /bin/bash in the ExecStart line because when I check the status of the service it lists it anyway:
$this->bbcode_second_pass_code('', '
● irswitch.service - IR Switch - Switch relais on / off
Loaded: loaded (/usr/lib/systemd/system/irswitch.service; enabled; vendor preset: disabled)
Active: active (running) since wo 2015-04-29 08:14:42 CEST; 19s ago
Main PID: 13250 (bash)
CGroup: /system.slice/irswitch.service
└─13250 /bin/bash /usr/bin/irswitch
')