Skip to content

Commit 9e05aec

Browse files
lordfeckflexibeast
authored andcommitted
user-services.md: Added alias to manage user services.
1 parent e7ae188 commit 9e05aec

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/config/services/user-services.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,13 @@ run: /home/duncan/service/ssh-agent: (pid 900) 33102s
4343
$ SVDIR=~/service sv restart gpg-agent
4444
ok: run: gpg-agent: (pid 19818) 0s
4545
```
46+
47+
For your convenience, an alias for local service management may be added to your
48+
shell's init script. If the default Bash shell is used, add the following line
49+
to the `~/.bashrc` file:
50+
51+
... alias svl="SVDIR=~/service sv" ...
52+
53+
Local services may now be managed using the alias `svl`. It will accept all the
54+
same arugments that vanilla [sv](./index.md#basic-usage) does, but `svl` will
55+
check the user services directory instead.

0 commit comments

Comments
 (0)