summarylogtreecommitdiffstats
path: root/hass.service
diff options
context:
space:
mode:
authorBrainDamage2023-05-26 07:18:58 +0200
committerBrainDamage2023-05-26 07:18:58 +0200
commite257f7298a4e79b60a53ccff087b3be219cdd457 (patch)
tree6e5d4cf8979cb13ea66ee91b8f33cb1632c3521b /hass.service
parente07febe8cf8880889e209a8e8b97d9bcfaf12fd4 (diff)
downloadaur-e257f7298a4e79b60a53ccff087b3be219cdd457.tar.gz
fixed cache paths to be consistent
unpinned dependency versions cleaned up the scripts a bit added more dependencies to avoid rebuilding half of python
Diffstat (limited to 'hass.service')
-rw-r--r--hass.service6
1 files changed, 3 insertions, 3 deletions
diff --git a/hass.service b/hass.service
index 94695b02a7f3..a6e941c64d54 100644
--- a/hass.service
+++ b/hass.service
@@ -11,10 +11,10 @@ Group=hass
LogsDirectory=hass
StateDirectory=hass hass-installation
CacheDirectory=hass
-Environment=CARGO_HOME=%C/hass/cargo
-Environment=PYTHON_EGG_CACHE=%C/hass/python-eggs
-Environment=VIRTUAL_ENV=%S/hass-installation
Environment=XDG_CACHE_HOME=%C/hass
+Environment=CARGO_HOME=${XDG_CACHE_HOME}/cargo
+Environment=PYTHON_EGG_CACHE=${XDG_CACHE_HOME}/python-eggs
+Environment=VIRTUAL_ENV=%S/hass-installation
WorkingDirectory=~
EnvironmentFile=-/etc/hass.env