ExecStop=/bin/kill -HUP $MAINPID #It's the default you can change whats happens on stop command
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=on-failure
RestartSec=42s
StandardOutput=null #If you don't want to make toms of logs you can set it null if you sent a file or some other options it will send all php output to this one.
'dnds'=>new\PAMI\Message\Action\CommandAction('database show DND'),
'peers'=>new\PAMI\Message\Action\CommandAction('data get /asterisk/channel/sip/peers 1=1 peers/peer/cid_num,peers/peer/useragent,peers/peer/secret,peers/peer/lastms,peers/peer/fullcontact'),
'peers'=>new\PAMI\Message\Action\CommandAction('data get /asterisk/channel/sip/peers 1=1 peers/peer/cid_num,peers/peer/useragent,peers/peer/secret,peers/peer/lastms,peers/peer/fullcontact,peers/peer/lastms,peers/peer/lastms'),
// 'peers' => new \PAMI\Message\Action\CommandAction('data get /asterisk/channel/sip/peers'),