Skip to content

Instantly share code, notes, and snippets.

@bindiry
bindiry / README.md
Last active February 21, 2018 23:33 — forked from jremus/README.md
My aria2 configuration and init script for Raspbian.

Description

Installation

File Locations

  • aria2.conf as /etc/aria2.conf
  • aria2.sh as /etc/init.d/aria2
@bindiry
bindiry / puma.service
Last active April 28, 2017 23:12 — forked from arteezy/puma.service
Manage Puma with systemd on Ubuntu 16.04 and rbenv
[Unit]
Description=Puma Rails Server
After=network.target
[Service]
Type=simple
User=deploy
WorkingDirectory=/home/deploy/app/current
ExecStart=/home/deploy/.rbenv/bin/rbenv exec bundle exec puma -C /home/deploy/app/shared/config/puma.rb
ExecStop=/home/deploy/.rbenv/bin/rbenv exec bundle exec pumactl -S /home/deploy/app/shared/tmp/pids/puma.state stop