From 056d24992a291c2f84636595a3c78a929dc97dc1 Mon Sep 17 00:00:00 2001 From: Angelo Naselli Date: Thu, 9 Jan 2014 13:18:27 +0100 Subject: gpm now is managed in systemd and it does not use a lock file anymore --- tools/mousedrake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/mousedrake b/tools/mousedrake index 679c512..a65816d 100755 --- a/tools/mousedrake +++ b/tools/mousedrake @@ -33,6 +33,6 @@ if (!$mouse || !$::auto) { mouse::write_conf($in->do_pkgs, $modules_conf, $mouse, 1); -system('service', 'gpm', 'restart') if -e '/var/lock/subsys/gpm'; +system('systemctl', 'try-restart', 'gpm.service') if -e '/usr/lib/systemd/system/gpm.service'; $in->exit(0); -- cgit v1.2.1