File home-assistant.service of Package home-assistant
[Unit] Description=Home Assistant After=network.target mysql.service mariadb.service [Service] Type=simple User=hass ExecStart=/usr/bin/hass SendSIGKILL=no RestartForceExitStatus=100 # avoid hass amok runs MemoryHigh=1024M MemoryMax=2048M [Install] WantedBy=multi-user.target