From 3de231930f42a57f13b93de902c3727251db3689 Mon Sep 17 00:00:00 2001 From: Michael Lustfield Date: Sun, 18 Feb 2024 15:20:43 -0600 Subject: [PATCH] Also point at correct data location --- states/webapps/soberpage.sls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/states/webapps/soberpage.sls b/states/webapps/soberpage.sls index ea2f3d2..43315f0 100644 --- a/states/webapps/soberpage.sls +++ b/states/webapps/soberpage.sls @@ -16,7 +16,7 @@ soberpage: - watch_in: - service: nginx cmd.run: - - name: /srv/webapps/soberpage/sync -n + - name: "/srv/webapps/soberpage/sync -n -d /srv/webapps/soberpage/data/domains" - require: - pkg: nginx - git: soberpage @@ -25,7 +25,7 @@ soberpage: - watch_in: - service: nginx cron.present: - - name: "/srv/webapps/soberpage/sync -n && service nginx reload" + - name: "/srv/webapps/soberpage/sync -n -d /srv/webapps/soberpage/data/domains && service nginx reload" - identifier: soberpge - minute: 30 - hour: 0