services: Add usv user service manager alias
If `vsv` void service manager program is on the system, we also point it to our own user service directory and make it accessible as `usv` user service manager.
This commit is contained in:
parent
8c28d8f7d5
commit
e792fc53af
2 changed files with 7 additions and 1 deletions
|
@ -64,9 +64,10 @@ office = "~"
|
|||
|
||||
[services.files]
|
||||
"services/README.md" = { target = "~/NOWHERE", type = "symbolic", if = "false" }
|
||||
"services/usv.sh" = { target = "~/.config/sh/alias.d/usv.sh", type = "symbolic" }
|
||||
"services/sv" = { target = "~/.config/sv", type = "symbolic"}
|
||||
# FIXME: Disabling existing systemd services for the moment
|
||||
"services/systemd" = { target = "~/NOWHERE", type = "symbolic", if = "false" }
|
||||
"services/sv" = { target = "~/.config/sv", type = "symbolic"}
|
||||
services = "~"
|
||||
|
||||
[social.files]
|
||||
|
|
5
services/usv.sh
Executable file
5
services/usv.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
if command -v vsv >/dev/null 2>&1; then
|
||||
alias usv='vsv -d $HOME/.local/state/service'
|
||||
fi
|
Loading…
Reference in a new issue