diff --git a/systemd_notifier.rb b/systemd_notifier.rb index 9182667..77de16e 100644 --- a/systemd_notifier.rb +++ b/systemd_notifier.rb @@ -35,7 +35,7 @@ class SystemdNotifier @enable_heartbeat end - def notify_heartbeat(message) + def notify(message) return unless @enable_heartbeat begin @@ -47,7 +47,4 @@ class SystemdNotifier end end - def self.notify(message) - MethodExecutor.record("info", "systemd", message) - end end