From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2013-04-16 19:11:31
|
>> Is there some issue with "EnvironmentFile=..." in systemd service file? >> >> The "EnvionmentFile=/etc/conf.d/lircd.conf" contains: >> >> LIRC_DEVICE = "/dev/lirc0" >> LIRC_DRIVER = "devinput" >> LIRC_CONFIGFILE = /etc/lirc/lircd.conf >> > > Try the Environment file *without* spaces on either side of the '=' > signs. Your Env file is not actually making the variables. > > > [root@tor5 uls]# LIRC_DEVICE = "/dev/lirc0" > bash: LIRC_DEVICE: command not found > > [root@tor5 uls]# LIRC_DEVICE="/dev/lirc0" > > [root@tor5 uls]# echo $LIRC_DEVICE > /dev/lirc0 > > > Geoff > > Hi Geoff Thanks but actually there are no white-spaces in the Env-file. I retyped the above with spaces on either side of '=' but actually in my real file there are no such spaces. If I look up status: # systemctl status lircd.service I get: >> lircd: invalid argument count |