summaryrefslogtreecommitdiff
path: root/suweren
diff options
context:
space:
mode:
authorMarek Paśnikowski <marek@marekpasnikowski.pl>2025-03-21 11:59:07 +0100
committerMarek Paśnikowski <marek@marekpasnikowski.pl>2025-03-21 11:59:27 +0100
commit0a786ead632f27da6e34192d06902e32a6290585 (patch)
tree98deb238249e67606e2ffc7564ee5cbf05a75a73 /suweren
parent4df0a5e10b23f14e22cfa5b6ca7b129e4111ce5f (diff)
trezor: add dependency on user-processes
The dependency is required to prevent Shepherd from blocking proper shutdown. Services must be correctly rooted in the service graph. This fact is not properly documented in the Guix Manual.
Diffstat (limited to 'suweren')
-rw-r--r--suweren/trezor.scm7
1 files changed, 4 insertions, 3 deletions
diff --git a/suweren/trezor.scm b/suweren/trezor.scm
index 8448bdf..496fd72 100644
--- a/suweren/trezor.scm
+++ b/suweren/trezor.scm
@@ -19,9 +19,10 @@
(profile-extension (list trezord))
(shepherd-extension
(shepherd-service
- (provision shepherd-symbols)
- (start start-process)
- (stop stop-process)))
+ (provision shepherd-symbols)
+ (requirement (list 'user-processes))
+ (start start-process)
+ (stop stop-process)))
(shepherd-extension* (list shepherd-extension))