Skip to content

Instantly share code, notes, and snippets.

View iluwQaa's full-sized avatar
💢

iluwka iluwQaa

💢
  • UA
View GitHub Profile
@iluwQaa
iluwQaa / forever-initd-example.sh
Created April 25, 2017 10:25 — forked from jinze/forever-initd-example.sh
forever init.d example
#!/bin/bash
#
# initd-example Node init.d
#
# chkconfig: 345 80 20
# description: Node init.d example
# processname: node
# pidfile: /var/run/initd-example.pid
# logfile: /var/log/initd-example.log
#
@iluwQaa
iluwQaa / devshelf.sh
Created April 25, 2017 09:54 — forked from robhrt7/devshelf.sh
Ubuntu init.d service example for nodeJS app with forever
#!/bin/bash
#
# description: DevShelf service
# processname: node
# pidfile: /var/run/devshelf.pid
# logfile: /var/log/devshelf.log
#
# Based on https://gist.github.com/jinze/3748766
#
# To use it as service on Ubuntu:
@iluwQaa
iluwQaa / external.links.js
Created November 17, 2016 15:10 — forked from ottonet/external.links.js
Automatically add target="_blank" to external links with jQuery