Skip to content

Commit

Permalink
RPM spec: enabled restart feature (in case of crash) in systemd service
Browse files Browse the repository at this point in the history
(cherry picked from commit 611b9bb)
  • Loading branch information
Nick Altmann committed Jun 11, 2015
1 parent f846b41 commit ca2711a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packaging/fedora/opensips.service
Expand Up @@ -10,6 +10,8 @@ EnvironmentFile=-/etc/sysconfig/opensips
PIDFile=/var/run/opensips/opensips.pid
ExecStart=/usr/sbin/opensips -P /var/run/opensips/opensips.pid -f /etc/opensips/opensips.cfg $OPTIONS
ExecStartPre=/usr/sbin/opensips-m4cfg
Restart=always
TimeoutStopSec=30s

[Install]
WantedBy=multi-user.target

0 comments on commit ca2711a

Please sign in to comment.