summarylogtreecommitdiffstats
path: root/service.patch
blob: 3486814de8a9ce9f192a85c0353e8bfeec1b68f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/asus_numberpad_driver.wayland.service b/asus_numberpad_driver.wayland.service
index a84a399..85126ea 100644
--- a/asus_numberpad_driver.wayland.service
+++ b/asus_numberpad_driver.wayland.service
@@ -5,7 +5,7 @@ StartLimitIntervalSec=300
 
 [Service]
 Type=simple
-ExecStart=$INSTALL_DIR_PATH/.env/bin/python3 $INSTALL_DIR_PATH/numberpad.py $LAYOUT_NAME $CONFIG_FILE_DIR_PATH
+ExecStart=python3 /usr/share/asus-numberpad-driver/numberpad.py $LAYOUT_NAME $CONFIG_FILE_DIR_PATH
 TimeoutSec=5
 Restart=on-failure
 RestartSec=1
@@ -19,4 +19,4 @@ Environment="XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR"
 Environment="XDG_SESSION_TYPE=$XDG_SESSION_TYPE"
 
 [Install]
-WantedBy=default.target
\ No newline at end of file
+WantedBy=default.target