init.d service for ordinary app


/ Published in: Bash
Save to your folder(s)

This is /etc/sysconfig/chartsrv:
CHARTSRVBASE="/root/chartsrv"
CHARTSRVRUN="/root/chartsrv/chartsrv"
CHARTSRVBIN="/root/chartsrv/chartsrv/chartsrv"
CHARTSRVPID="/var/run/chartsrv.pid"
CHARTSRVLOG="/var/log/chartsrv/chartsrv-$(date +%Y%m%d%H%M%S).log"

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.