1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00

Update cowyo.init

This commit is contained in:
Zack 2016-02-08 11:28:04 -05:00
parent bbeee5417f
commit 17b139765b

View File

@ -1,15 +1,14 @@
# This should be placed in /etc/init.d directory # This should be placed in /etc/init.d directory
# start with # start with
# sudo /etc/init.d/shrib start # sudo /etc/init.d/cowyo start
# stop with # stop with
# sudo /etc/init.d/shrib start # sudo /etc/init.d/cowyo start
dir="/home/phi/Documents/cowyo" dir="CUR_DIR"
user="phi" user="USER"
cmd="./cowyo cowyo.duckdns.org" cmd="./cowyo EXTERNAL_ADDRESS"
name="cowyo2" name="cowyo"
pid_file="/var/run/$name.pid" pid_file="/var/run/$name.pid"
stdout_log="/var/log/$name.log" stdout_log="/var/log/$name.log"
stderr_log="/var/log/$name.err" stderr_log="/var/log/$name.err"