Compare commits

..

2 Commits

Author SHA1 Message Date
Wilhelm Westermark 485ef552fe Changed endpoint url to match assar config
5 years ago
Wilhelm Westermark f99ff7c331 Added supervisord conf
5 years ago

@ -53,7 +53,7 @@ def unfurl(url):
# Our app's Slack Event Adapter for receiving actions via the Events API
slack_signing_secret = os.environ['SLACK_SIGNING_SECRET'] # <https://api.slack.com/apps/AN6HH95ML/general>
slack_events_adapter = SlackEventAdapter(slack_signing_secret, '/slack/events')
slack_events_adapter = SlackEventAdapter(slack_signing_secret, '/slack-eggberg/events')
# Create a SlackClient for your bot to use for Web API requests
token = os.environ['SLACK_TOKEN'] # Börjar med "xoxp-". <https://api.slack.com/apps/AN6HH95ML/oauth>

@ -0,0 +1,6 @@
[program:slack-eggberg]
command = python3 eggberg.py
directory = /srv/slack-eggberg
user = www-data
redirect_stderr = True
environment=SLACK_TOKEN="yyyy",SLACK_SIGNING_SECRET="xxxx"
Loading…
Cancel
Save