summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/mousedrake2
1 files changed, 1 insertions, 1 deletions
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);