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.