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: //usr/share/init/pkg-Contacts-apid.conf
cgroup cpuacct "pkgctl-Contacts"
cgroup memory "pkgctl-Contacts"

description "Contacts apid"
author "Mail Solution Team"

expect fork
respawn
respawn limit 5 10
kill timeout 60
limit nofile 65535 65535

script
  exec /usr/syno/sbin/synoscgi________________________________________________________ --mode=apid --conf=/var/packages/Contacts/target/etc/apid.json
end script

pre-start script
	/bin/mkdir -p /run/Contacts
	/bin/chown Contacts:Contacts /run/Contacts
	/bin/rm -f /run/Contacts/apid.sock
end script

post-stop script
	/bin/rm -f /run/Contacts/apid.sock
end script