diff options
author | doktornotor <notordoktor@gmail.com> | 2017-02-22 13:38:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-22 13:38:35 +0100 |
commit | aeaf7ad94e2a73629319094f2ba80cc24a11616e (patch) | |
tree | 3fde874d5479d8b9b685d8046c80b1b0fb86a29d /src/etc | |
parent | 7a74d245de46446a52fdc4f4a6cac58984b539b4 (diff) | |
download | pfsense-aeaf7ad94e2a73629319094f2ba80cc24a11616e.zip pfsense-aeaf7ad94e2a73629319094f2ba80cc24a11616e.tar.gz |
Use sigkillbyname() for relayd
Diffstat (limited to 'src/etc')
-rw-r--r-- | src/etc/inc/service-utils.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/service-utils.inc b/src/etc/inc/service-utils.inc index d0ae4ae..b09e125 100644 --- a/src/etc/inc/service-utils.inc +++ b/src/etc/inc/service-utils.inc @@ -693,7 +693,7 @@ function service_control_stop($name, $extras) { } break; case 'relayd': - mwexec('/bin/pkill relayd'); + sigkillbyname("relayd", "TERM"); break; case 'syslogd': if (isvalidpid("{$g['varrun_path']}/syslog.pid")) { |