diff options
author | Pjotr Prins | 2023-02-22 07:53:59 -0600 |
---|---|---|
committer | Pjotr Prins | 2023-02-22 07:53:59 -0600 |
commit | 9a0198e9b23a1995ca5e23be6c06039b580c7123 (patch) | |
tree | a8e94cfe3ca7e9e0598e1ef93652aaecb7a5cd5b /topics/systems | |
parent | 0cd30159d70a3b0bd886cd6f04af7e78236df6c7 (diff) | |
download | gn-gemtext-9a0198e9b23a1995ca5e23be6c06039b580c7123.tar.gz |
Update documentation
Diffstat (limited to 'topics/systems')
-rw-r--r-- | topics/systems/shepherd.gmi | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/topics/systems/shepherd.gmi b/topics/systems/shepherd.gmi index d67d9d6..9cf1ed4 100644 --- a/topics/systems/shepherd.gmi +++ b/topics/systems/shepherd.gmi @@ -8,6 +8,14 @@ * status: wip * priority: unclear +## Quick overview + +Shepherd runs in systemd as a shepherd user + +``` +systemctl status user-shepherd.service +``` + ## Description On Debian based systems we run shepherd as a shepherd user. The service gets started up through systemd. @@ -17,9 +25,11 @@ repository. The process for deploying the services: +``` symlink shepherd-services/shepherd to $HOME/.config/shepherd symlink shepherd-services/cron to $home/.config/cron symlink shepherd-services/*sh to $HOME +``` When shepherd starts up it should start all the services. So currently that's bnw, gitea, ipfs, power, rn6app, singlecell and the mcron @@ -28,7 +38,10 @@ services, gitea-dump and pubmed. To use shepherd's herd command the command is 'sudo -u shepherd /home/shepherd/.guix-profile/bin/herd status'. -: /home/shepherd/.guix-profile/bin/herd status +``` +su shepherd +/home/shepherd/.guix-profile/bin/herd status +``` Adding a bash alias, such as "alias herd-herd='sudo -u shepherd /home/shepherd/.guix-profile/bin/herd'", will make it easier to |