KITAITI Makoto
null+****@clear*****
Sat Jan 23 23:06:12 JST 2016
KITAITI Makoto 2016-01-23 23:06:12 +0900 (Sat, 23 Jan 2016) New Revision: ed079cbfcea4a5c57a34b11f007cdd5c34514a80 https://github.com/droonga/droonga-engine/commit/ed079cbfcea4a5c57a34b11f007cdd5c34514a80 Merged 8185d92: Merge pull request #40 from KitaitiMakoto/complete-unit-type Message: Complete unit type for clarity Modified files: lib/droonga/service_installation.rb Modified: lib/droonga/service_installation.rb (+3 -3) =================================================================== --- lib/droonga/service_installation.rb 2016-01-23 23:05:33 +0900 (6aad045) +++ lib/droonga/service_installation.rb 2016-01-23 23:06:12 +0900 (8ed8c04) @@ -90,21 +90,21 @@ module Droonga def running?(pid_file_path=nil) raise NotInstalledAsService.new unless installed_as_service? - system("systemctl", "is-active", "droonga-engine", + system("systemctl", "is-active", "droonga-engine.service", :out => "/dev/null", :err => "/dev/null") end def start raise NotInstalledAsService.new unless installed_as_service? - system("systemctl", "start", "droonga-engine", + system("systemctl", "start", "droonga-engine.service", :out => "/dev/null", :err => "/dev/null") end def stop raise NotInstalledAsService.new unless installed_as_service? - system("systemctl", "stop", "droonga-engine", + system("systemctl", "stop", "droonga-engine.service", :out => "/dev/null", :err => "/dev/null") end -------------- next part -------------- HTML����������������������������... Download