]> rtime.felk.cvut.cz Git - novaboot.git/commitdiff
server: Make systemd invoke novaboot-shell in the $HOME directory
authorMichal Sojka <michal.sojka@cvut.cz>
Thu, 18 Nov 2021 17:57:14 +0000 (18:57 +0100)
committerMichal Sojka <michal.sojka@cvut.cz>
Thu, 18 Nov 2021 18:10:25 +0000 (19:10 +0100)
This is the same directory as where novaboot-shell is invoked by sshd.

server/systemd/novaboot-power@.service

index 19ab41b2245f3765bdd45112286a4f5513cade0e..5d5e104a67038a0ed948f3013a520c0777d75d8f 100644 (file)
@@ -7,3 +7,4 @@ RemainAfterExit=true
 ExecStart=/usr/bin/novaboot-shell on
 ExecStop=/usr/bin/novaboot-shell off
 User=%i
+WorkingDirectory=~