From: Michal Sojka Date: Thu, 18 Nov 2021 17:57:14 +0000 (+0100) Subject: server: Make systemd invoke novaboot-shell in the $HOME directory X-Git-Tag: 20220425~13 X-Git-Url: https://rtime.felk.cvut.cz/gitweb/novaboot.git/commitdiff_plain/d9d607b41436e883bec6fea2f1bf61df21a5781c server: Make systemd invoke novaboot-shell in the $HOME directory This is the same directory as where novaboot-shell is invoked by sshd. --- diff --git a/server/systemd/novaboot-power@.service b/server/systemd/novaboot-power@.service index 19ab41b..5d5e104 100644 --- a/server/systemd/novaboot-power@.service +++ b/server/systemd/novaboot-power@.service @@ -7,3 +7,4 @@ RemainAfterExit=true ExecStart=/usr/bin/novaboot-shell on ExecStop=/usr/bin/novaboot-shell off User=%i +WorkingDirectory=~