Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkg/kamailio: Added systemd unit relanch after non null exit code. Fix of ticket 1085 #1197

Merged
merged 1 commit into from Aug 1, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/kamailio/centos/7/kamailio.service
Expand Up @@ -16,7 +16,7 @@ PIDFile=/run/kamailio/kamailio.pid
# ExecStart requires a full absolute path
ExecStart=/usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY
ExecStopPost=/usr/bin/rm -f /run/kamailio/kamailio.pid
Restart=on-abort
Restart=on-failure
User=kamailio
Group=daemon
; For each TCP or TLS endpoint connection is requred file descriptor
Expand Down
2 changes: 1 addition & 1 deletion pkg/kamailio/fedora/17/kamailio.service
Expand Up @@ -10,7 +10,7 @@ EnvironmentFile=/etc/sysconfig/kamailio
PIDFile=/var/run/kamailio.pid
ExecStart=/usr/sbin/kamailio -P /var/run/kamailio.pid $OPTIONS
ExecStopPost=/usr/bin/rm -f /var/run/kamailio.pid
Restart=on-abort
Restart=on-failure

[Install]
WantedBy=multi-user.target