axman0929
(Sean Armstrong)
1
not sure what i am doing wrong here… using basic setup from all in one installer
here is my entry from [email protected]
[Unit]
Description=AppDaemon
[email protected]
[Service]
Type=simple
User=hass
ExecStart=/usr/local/bin/appdaemon -c conf
[Install]
WantedBy=multi-user.target
autostart is not working for me, any suggestions?
gpbenton
(Graham)
2
If you mean it doesn’t start at boot, have you done
$ sudo systemctl enable [email protected]
If you mean it doesn’t start at all, I think you will need to post the error message.
cgarwood
(Charles Garwood)
3
Autostart is not working for me either, with the following error:
Jul 27 20:13:24 raspberrypi appdaemon[21386]: config.read_file(open(config_file))
Jul 27 20:13:24 raspberrypi appdaemon[21386]: IsADirectoryError: [Errno 21] Is a directory: '/home/hass/appdaemon'
Jul 27 20:13:24 raspberrypi systemd[1]: [email protected]: main process exited, code=exited, status=1/FAILURE
I’m using the following line in the systemd config file:
ExecStart=/usr/local/bin/appdaemon -c /home/hass/appdaemon
Strangely enough, if I run that same command from the command line it launches OK.
ExecStart=/usr/local/bin/appdaemon -c /home/hass/appdaemon/conf