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: //etc.defaults/init/pkg-Contacts-pushserver.conf
cgroup cpuacct "pkgctl-Contacts"
cgroup memory "pkgctl-Contacts"

description "Contacts Push Server"
author "Mail Solution Team"

respawn
respawn limit 5 10
kill timeout 60

script
       NODE_PACKAGE=Node.js_v12
       NODE_BIN="/var/packages/$NODE_PACKAGE/target/usr/local/bin/node"
       exec $NODE_BIN /var/packages/Contacts/target/nodejs/pushserver/pushserver.js
end script

pre-start script
       /bin/rm -f /run/pushserver.sock
       /bin/rm -f /run/pushserver_http.sock
end script

post-stop script
       /bin/rm -f /run/pushserver.sock
       /bin/rm -f /run/pushserver_http.sock
end script