Author Message

drcrazy

Administrators

Online status

65 posts
Location: MSQ
Occupation: drcrazy
Age: 44

#109   29/12/2015 22:21 GMT      
Put binary to
Code:
/home/user/vlmcsd

and make shure that it is executable.

Execute:
Code:
sudo touch /etc/init/vlmcsd.conf


Put the following content into that file:
Code:
# vlmcsd upstart script

description  "VLMCSD"

setuid user
setgid user

expect fork

start on stopped networking
stop on runlevel [016]

# tell upstart to respawn the process if abnormal exit
respawn
respawn limit 10 5

exec /home/user/vlmcsd/vlmcsd-x64-glibc -l /home/user/vlmcsd/vlmcsd.log


Start service:
Code:
sudo service vlmcsd start
The pleasure of satisfying a savage instinct, undomesticated by the ego, is incomparably much more intense then the one of satisfying a tamed instinct. S.Freud.