|
|
|
|
|
by Mister_Snuggles
2243 days ago
|
|
I seem to remember having problems with daemon, but I can't remember what they were exactly. The Jail is gone now, so I can't look at the end result to see what I ended up with. By all accounts, this command should do exactly what I need though. I probably ended up with something like this[0], which doesn't use daemon. Home Assistant also provides a FreeNAS example[1] which uses daemon. For comparison, the systemd unit file that I ended up with is: [Unit]
Description=Home Assistant
After=network.target
[Service]
Type=simple
Restart=always
ExecStart=/home/hass/homeassistant/bin/python /home/hass/homeassistant/bin/hass
WorkingDirectory=/home/hass
User=hass
Group=hass
[Install]
WantedBy=multi-user.target
[0] https://gist.github.com/damoun/96add58f60572cb12c11[1] https://www.home-assistant.io/docs/installation/freenas/ |
|