From a2d81e4302de1c0bee3fcf26855001ec5f4b07df Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 7 Nov 2017 15:02:49 -0700 Subject: [PATCH] use home folder --- dist/etc/systemd/system/goldilocks.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/etc/systemd/system/goldilocks.service b/dist/etc/systemd/system/goldilocks.service index ac0992c..2e97bce 100644 --- a/dist/etc/systemd/system/goldilocks.service +++ b/dist/etc/systemd/system/goldilocks.service @@ -26,7 +26,7 @@ Group=MY_GROUP Environment=GOLDILOCKS_PATH=/srv/www NODE_PATH=/opt/goldilocks/lib/node_modules NPM_CONFIG_PREFIX=/opt/goldilocks # Set a sane working directory, sane flags, and specify how to reload the config file -WorkingDirectory=/srv/www +WorkingDirectory=/opt/goldilocks ExecStart=/opt/goldilocks/bin/node /opt/goldilocks/bin/goldilocks --config /etc/goldilocks/goldilocks.yml ExecReload=/bin/kill -USR1 $MAINPID