#! /bin/bash
if [ -e /home/user/pid/program1.pid ]
then
exit
else
nohup /home/user/start/program1 > /dev/null &
fi
if [ -e /home/user/pid/program1.pid ]
then
exit
fi
exit 0
#! /bin/bash
if [ -e $1 ];then
exit
else
nohup $2 > /dev/null &
fi
exit 0
scrypt $1 $2
scrypt /home/user/pid/program1.pid /home/user/start/program1