diff --git a/homu.sls b/homu.sls index 47c23214..4a1e5dd3 100644 --- a/homu.sls +++ b/homu.sls @@ -36,7 +36,7 @@ homu: - require: - pip: install_homu -/etc/init/homu.conf +/etc/init/homu.conf: file.managed: - source: salt://homu/homu.conf - user: root diff --git a/homu/homu.conf b/homu/homu.conf index 3f85aef5..4511778f 100644 --- a/homu/homu.conf +++ b/homu/homu.conf @@ -7,3 +7,5 @@ start on (local-filesystems and net-device-up IFACE!=lo) stop on runlevel [016] env HOME=/home/servo + +chdir /home/servo/homu \ No newline at end of file