mirror of
				https://bitbucket.org/jsuto/piler.git
				synced 2025-11-04 01:32:26 +01:00 
			
		
		
		
	improved init scripts
This commit is contained in:
		@@ -44,9 +44,11 @@ case "$1" in
 | 
			
		||||
        status)
 | 
			
		||||
                if check_status;
 | 
			
		||||
                 then
 | 
			
		||||
                echo "${NAME} is running."
 | 
			
		||||
                    echo "${NAME} is running."
 | 
			
		||||
                    exit 0
 | 
			
		||||
                 else
 | 
			
		||||
                echo "${NAME} is not running."
 | 
			
		||||
                    echo "${NAME} is not running."
 | 
			
		||||
                    exit 1
 | 
			
		||||
                fi
 | 
			
		||||
        ;;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -54,9 +54,11 @@ case "$1" in
 | 
			
		||||
        status)
 | 
			
		||||
                if check_status;
 | 
			
		||||
                 then
 | 
			
		||||
                echo "${NAME} is running."
 | 
			
		||||
                    echo "${NAME} is running."
 | 
			
		||||
                    exit 0
 | 
			
		||||
                 else
 | 
			
		||||
                echo "${NAME} is not running."
 | 
			
		||||
                    echo "${NAME} is not running."
 | 
			
		||||
                    exit 1
 | 
			
		||||
                fi
 | 
			
		||||
        ;;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user