From 53da9b70f723b47d09c140856bf30d2cdfafab5d Mon Sep 17 00:00:00 2001 From: DeaDvey <104674266+DeaDvey@users.noreply.github.com> Date: Fri, 26 Jul 2024 02:43:48 +0000 Subject: [PATCH] Updated sytemd docs --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7c64046..8c2892c 100644 --- a/README.md +++ b/README.md @@ -75,9 +75,12 @@ make # 👍 # Starting with SystemD Starting lidm with SystemD is not fully supported, however it will start on launch. -In the lidm directory run these commands: +Firstly, edit the assets/li.service file to have the corrent path of the lidm binary. +eg: +```ExecStart=$HOME/git/lidm/lidm``` +Then, in the lidm directory run these commands: ```sh -sudo cp li.service /etc/systemd/system +sudo cp assets/li.service /etc/systemd/system sudo systemdtl enable li ``` You may also want to disable your current Display Manager for instance: