mirror of
https://github.com/Dannecron/hello-slack-bot.git
synced 2025-12-25 16:12:34 +03:00
add https settings and service 2
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
[Unit]
|
||||
Description=Your app
|
||||
Description=slackbot
|
||||
After=network.target
|
||||
[Service]
|
||||
ExecStart=/var/www/myapp/app.js
|
||||
ExecStart=/var/www/slackbot/app.js
|
||||
Restart=always
|
||||
User=nobody
|
||||
Group=nobody
|
||||
Environment=PATH=/usr/bin:/usr/local/bin
|
||||
Environment=NODE_ENV=production
|
||||
WorkingDirectory=/var/www/myapp
|
||||
WorkingDirectory=/var/www/slackbot
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user