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