mirror of
https://github.com/jambonz/jambonz-infrastructure.git
synced 2026-07-04 22:11:48 +00:00
80ec4a45da
* initial changes for proxmox support * proxmox packer updates * terraform template for Proxmox jambonz-mini * update jambonz-mini to 0.8.3-3
30 lines
708 B
Desktop File
30 lines
708 B
Desktop File
|
|
[Unit]
|
|
Description=drachtio
|
|
After=syslog.target network.target local-fs.target
|
|
|
|
[Service]
|
|
; service
|
|
Type=forking
|
|
ExecStartPre=/bin/sh -c 'systemctl set-environment LOCAL_IP=`curl -s http://169.254.169.254/latest/meta-data/local-ipv4`'
|
|
ExecStart=/usr/local/bin/drachtio --daemon -f /etc/drachtio-5070.conf.xml --contact sip:${LOCAL_IP}:5070;transport=udp,tcp --address 0.0.0.0 --port 9023
|
|
TimeoutSec=15s
|
|
Restart=always
|
|
; exec
|
|
User=root
|
|
Group=daemon
|
|
LimitCORE=infinity
|
|
LimitNOFILE=100000
|
|
LimitNPROC=60000
|
|
;LimitSTACK=240
|
|
LimitRTPRIO=infinity
|
|
LimitRTTIME=7000000
|
|
IOSchedulingClass=realtime
|
|
IOSchedulingPriority=2
|
|
CPUSchedulingPolicy=rr
|
|
CPUSchedulingPriority=89
|
|
UMask=0007
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|