From 25e644bb5dd230ecd1834d9621100cb819463795 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 9 May 2017 18:46:10 +0000 Subject: [PATCH] use correct path for walnut --- dist/Library/LaunchDaemons/com.daplie.walnut.web.plist | 2 +- dist/etc/systemd/system/walnut.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/Library/LaunchDaemons/com.daplie.walnut.web.plist b/dist/Library/LaunchDaemons/com.daplie.walnut.web.plist index 1ca54ef..748869d 100644 --- a/dist/Library/LaunchDaemons/com.daplie.walnut.web.plist +++ b/dist/Library/LaunchDaemons/com.daplie.walnut.web.plist @@ -7,7 +7,7 @@ ProgramArguments /usr/local/bin/node - /usr/local/bin/walnut + /srv/walnut/core/bin/walnut.js --config /etc/walnut/walnut.yml diff --git a/dist/etc/systemd/system/walnut.service b/dist/etc/systemd/system/walnut.service index 5cce166..5f20e71 100644 --- a/dist/etc/systemd/system/walnut.service +++ b/dist/etc/systemd/system/walnut.service @@ -27,7 +27,7 @@ Group=www-data # Set a sane working directory, sane flags, and specify how to reload the config file WorkingDirectory=/srv/www -ExecStart=/usr/local/bin/node /usr/local/bin/walnut --config=/etc/walnut/walnut.yml +ExecStart=/usr/local/bin/node /srv/walnut/core/bin/walnut.js --config=/etc/walnut/walnut.yml ExecReload=/bin/kill -USR1 $MAINPID # Limit the number of file descriptors and processes; see `man systemd.exec` for more limit settings.