Swirly

From FSCONS wiki
Revision as of 14:26, 23 October 2015 by Grégoire (talk | contribs) (Document swirly)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Swirly is an irc bot for fscons, hanging out in the #fscons channel.

Swirly has a some classical irc bot functions but its main feature is to check the status of the ticket sales on eventbrite:

 gregoire  swirly eventbrite
 swirly    FSCONS 2015 (2015-11-07)
 swirly    Business: 1
 swirly    Regular: 0
 swirly    Early Bird: 34
 swirly    Youth: 3
 swirly    Additional Contribution: 1

Deployment documentation

Swirly runs on our server.

User

There is a special user, swirly, created as

 useradd -s /usr/sbin/nologin -r -M -d /var/swirly swirly

Systemd

There is a systemd.service file to manage swirly (/etc/systemd/system/swirly.service), so we can use systemctl to start/stop/monitor swirly:

  systemctl start swirly
  systemctl status swirly
  systemctl stop swirly
  ...