mirror of
https://github.com/Dannecron/hello-slack-bot.git
synced 2025-12-26 00:22:35 +03:00
some fix
This commit is contained in:
@@ -2,11 +2,12 @@
|
||||
Description=slackbot
|
||||
After=network.target
|
||||
[Service]
|
||||
ExecStart=/var/www/slackbot/app.js
|
||||
ExecStart=/usr/bin/node /var/www/slackbot/app.js
|
||||
Restart=always
|
||||
User=nobody
|
||||
Group=nobody
|
||||
Environment=PATH=/usr/bin:/usr/local/bin
|
||||
RestartSec=10
|
||||
#User=nobody
|
||||
#Group=nobody
|
||||
#Environment=PATH=/usr/bin:/usr/local/bin
|
||||
Environment=NODE_ENV=production
|
||||
WorkingDirectory=/var/www/slackbot
|
||||
[Install]
|
||||
|
||||
Reference in New Issue
Block a user