Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
e5e819e337 |
11
dinit/hooks/dinit-user-spawn-install.hook
Normal file
11
dinit/hooks/dinit-user-spawn-install.hook
Normal file
@@ -0,0 +1,11 @@
|
||||
[Trigger]
|
||||
Type = Path
|
||||
Operation = Install
|
||||
# Operation = Upgrade
|
||||
Target = usr/lib/dinit.d/dinit-user-spawn
|
||||
|
||||
[Action]
|
||||
Description = Enabling dinit user spawn ...
|
||||
When = PostTransaction
|
||||
Exec = dinitctl enable dinit-user-spawn
|
||||
NeedsTargets
|
10
dinit/hooks/dinit-user-spawn-remove.hook
Normal file
10
dinit/hooks/dinit-user-spawn-remove.hook
Normal file
@@ -0,0 +1,10 @@
|
||||
[Trigger]
|
||||
Type = Path
|
||||
Operation = Remove
|
||||
Target = usr/lib/dinit.d/dinit-user-spawn
|
||||
|
||||
[Action]
|
||||
Description = Disabling dinit user service help ...
|
||||
When = PostTransaction
|
||||
Exec = dinitctl disable dinit-user-spawn
|
||||
NeedsTargets
|
Reference in New Issue
Block a user