From 782f1521e4085cf134298207e3d169b8f0906856 Mon Sep 17 00:00:00 2001 From: Camille Lafitte Date: Tue, 27 Aug 2024 18:05:10 +0200 Subject: [PATCH] Autostart at user level * screen autostart is require only one user is enabled --- debian/rules | 5 ++++- ...ervice => screen-save.screen-save-autostart.user.service} | 0 ...rt.timer => screen-save.screen-save-autostart.user.timer} | 0 3 files changed, 4 insertions(+), 1 deletion(-) rename debian/{screen-save.screen-save-autostart.service => screen-save.screen-save-autostart.user.service} (100%) rename debian/{screen-save.screen-save-autostart.timer => screen-save.screen-save-autostart.user.timer} (100%) diff --git a/debian/rules b/debian/rules index 3eeaca8..1fe14a0 100755 --- a/debian/rules +++ b/debian/rules @@ -1,8 +1,11 @@ #!/usr/bin/make -f #export DH_VERBOSE = 1 + +override_dh_installsystemduser: + dh_installsystemduser --name=screen-save-autostart + override_dh_installsystemd: - dh_installsystemd --name=screen-save-autostart dh_installsystemd --name=screen-save-all dh_installsystemd --name=screen-save-all-shutdown diff --git a/debian/screen-save.screen-save-autostart.service b/debian/screen-save.screen-save-autostart.user.service similarity index 100% rename from debian/screen-save.screen-save-autostart.service rename to debian/screen-save.screen-save-autostart.user.service diff --git a/debian/screen-save.screen-save-autostart.timer b/debian/screen-save.screen-save-autostart.user.timer similarity index 100% rename from debian/screen-save.screen-save-autostart.timer rename to debian/screen-save.screen-save-autostart.user.timer