hubot-reboot

1.2.0 • Public • Published

hubot-reboot

Hubot command to reboot (really just kill the running process)

Installation

In your hubot project, run:

npm install hubot-reboot --save

Then add hubot-reboot to your external-scripts.json:

[
  "hubot-reboot"
]

Dependencies

Unless you want everyone to be able to restart hubot, also install hubot-auth.

You should also be running hubot with something that automatically restarts the process if it dies...otherwise this command just kills hubot

Configuration

  • HUBOT_AUTH_ADMIN - A comma separate list of user IDs
  • HUBOT_REBOOT_COMMAND - set this to replace the default reboot commands
  • HUBOT_REBOOT_MESSAGE - change the default message hubot posts as a reply to being rebooted

To populate the HUBOT_AUTH_ADMIN list, use https://api.slack.com/methods/users.list/test to get the actual ids...not the usernames or email addresses

Sample Interaction

Default

user1>> hubot reboot
hubot>> rebooting...brb

Customized

user1>> bender: you are drunk!
bender>> Hasta la vista, meatbags!

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.2.02latest

Version History

VersionDownloads (Last 7 Days)Published
1.2.02
1.1.00
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i hubot-reboot

Weekly Downloads

0

Version

1.2.0

License

MIT

Last publish

Collaborators

  • dennisnewel