SHARE
TWEET

archlinux freeswitch systemd system file

a guest Nov 8th, 2012 173 Never
  1. [Unit]
  2. Description=freeswitch
  3. After=syslog.target network.target local-fs.target
  4.  
  5. [Service]
  6. Type=forking
  7. PIDFile=/run/freeswitch/freeswitch.pid
  8. EnvironmentFile=/etc/conf.d/freeswitch
  9. PermissionsStartOnly=true
  10. ExecStartPre=/bin/mkdir -p /run/freeswitch
  11. ExecStartPre=/bin/chown freeswitch:freeswitch /run/freeswitch
  12. ExecStart=/usr/bin/freeswitch $FREESWITCH_OPTS
  13. TimeoutSec=45s
  14. Restart=always
  15. User=freeswitch
  16. Group=freeswitch
  17. UMask=0007
  18.  
  19. [Install]
  20. WantedBy=multi-user.target
RAW Paste Data
Top