PIDFile=/run/freeswitch/freeswitch.pid
PIDFile=/usr/local/freeswitch/run/freeswitch.pid
ExecStart=/usr/bin/freeswitch
ExecStart=/usr/local/freeswitch/bin/freeswitch
the do the systemctl stuff
systemctl daemon-reloadsystemctl enable freeswitchsystemctl start freeswitch
Got a weird issue where FS isn’t starting up correctly. Looking at the logs, it appears just to be attempting to restart SIP profiles (and failing), and that’s about it. There’s no socket for fs_cli, and a simple ‘systemctl restart’ fixes it. Anyone had something like this? I’ve tried fixing it with systemd after / requires, but it hasn’t helped.Here’s my .service file (not sure if this is the issue, I'd welcome any comments / better versions?)[Unit]Description=freeswitchAfter=syslog.target network-online.target local-fs.target[Service]; serviceType=forkingPIDFile=/run/freeswitch/freeswitch.pid PermissionsStartOnly=trueExecStart=/usr/bin/freeswitch -ncwait -nonatExecStop=/usr/bin/fs_cli -x shutdownTimeoutSec=45sRestart=always; execRuntimeDirectory=freeswitchRuntimeDirectoryMode=0755User=freeswitchGroup=freeswitchLimitCORE=infinityLimitNOFILE=100000LimitNPROC=60000;LimitSTACK=240LimitRTPRIO=infinityLimitRTTIME=7000000IOSchedulingClass=realtimeIOSchedulingPriority=2CPUSchedulingPolicy=rrCPUSchedulingPriority=89UMask=0007[Install]
____________________________________________________________ _____________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch- users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/ options/freeswitch-users
http://www.freeswitch.org