use correct path for walnut

This commit is contained in:
AJ ONeal 2017-05-09 18:46:10 +00:00
parent 0228723bba
commit 25e644bb5d
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@
<key>ProgramArguments</key> <key>ProgramArguments</key>
<array> <array>
<string>/usr/local/bin/node</string> <string>/usr/local/bin/node</string>
<string>/usr/local/bin/walnut</string> <string>/srv/walnut/core/bin/walnut.js</string>
<string>--config</string> <string>--config</string>
<string>/etc/walnut/walnut.yml</string> <string>/etc/walnut/walnut.yml</string>
</array> </array>

View File

@ -27,7 +27,7 @@ Group=www-data
# Set a sane working directory, sane flags, and specify how to reload the config file # Set a sane working directory, sane flags, and specify how to reload the config file
WorkingDirectory=/srv/www 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 ExecReload=/bin/kill -USR1 $MAINPID
# Limit the number of file descriptors and processes; see `man systemd.exec` for more limit settings. # Limit the number of file descriptors and processes; see `man systemd.exec` for more limit settings.