Skip to content

Instantly share code, notes, and snippets.

View JoshCooley's full-sized avatar
🎯
Focusing

Josh Cooley JoshCooley

🎯
Focusing
View GitHub Profile
#!/bin/bash
# app-name daemon
# chkconfig: 345 20 80
# description: app-name daemon
# processname: process_name
# This init.d script makes twp assumptions
# 1) The script is run by root. Only root has the rights to su to the RUNTIME_USER.
# 2) The RUNTIME_USER a system user. Any user should work, so long as they have permissions to the project files.