Skip to content

Instantly share code, notes, and snippets.

View katafrakt's full-sized avatar
🐟

Paweł Świątkowski katafrakt

🐟
View GitHub Profile
@katafrakt
katafrakt / puma_rc.d.sh
Created October 11, 2012 18:59
simple and stupid Arch Linux rc.d script for starting and stopping puma (http://puma.io) with certain rails app
#!/bin/bash
. /etc/rc.conf
. /etc/rc.d/functions
. /etc/profile
DAEMON=prozatorium
PIDFILE=/path/to/pidfile
app_path=/path/to/rails_app
config=config/puma.rb