wmstartup: Add custom service definition, leverage subshells better
This commit is contained in:
		| @@ -17,7 +17,7 @@ function svc_log() { | ||||
| } | ||||
|  | ||||
| function prestart() { | ||||
| 	if pgrep $service_proccess > /dev/null 2>&1; then | ||||
| 	if pgrep $service_process > /dev/null 2>&1; then | ||||
| 		svc_log "Already running" | ||||
| 		return 1 | ||||
| 	fi | ||||
|   | ||||
		Reference in New Issue
	
	Block a user