HEX
Server: Apache/2.2.34 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141
System: Linux Kou-Etsu-Dou 4.4.59+ #25556 SMP PREEMPT Thu Mar 4 18:03:46 CST 2021 x86_64
User: hosam (1026)
PHP: 7.2.29
Disabled: NONE
Upload Files
File: //var/packages/Node.js_v12/scripts/start-stop-status
#!/bin/sh
# Copyright (C) 2000-2019 Synology Inc. All rights reserved.
. $(dirname $0)/common

case $1 in
	start)
		#FIXME
		# Link under /usr/bin will be clean after DSM upgrade
		# It should be moved to /usr/local/bin in DSM6
		GET_STATUS
		if [ 0 -ne $? ]; then
			SET_DEFAULT_NODE
		fi
		exit 0
		;;
	stop)
		exit 0
		;;
	status)
		GET_STATUS
		exit $?
		;;
	killall)
		;;
	log)
		exit 0
		;;
esac