aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner2020-09-09 08:20:58 +0000
committerShepherd2020-09-09 08:20:58 +0000
commitb25542805cd47b75c4e5987e4bc770277e3015a3 (patch)
treeca501dd0678db7242ab528188af73230e83eac42
parentf199e13a451478ba2296d3e12ea8407aaedcc5fe (diff)
downloadgn-shepherd-services-b25542805cd47b75c4e5987e4bc770277e3015a3.tar.gz
Use per-service guix profiles
-rw-r--r--README3
-rw-r--r--channels.scm6
2 files changed, 9 insertions, 0 deletions
diff --git a/README b/README
index dbe7b39..ab280e3 100644
--- a/README
+++ b/README
@@ -18,3 +18,6 @@ $ herd load root .config/shepherd/init.d/bar.scm
The second command will load the code in `bar.scm` into `shepherd`, and if the service is configured to start automatically at startup it will start immediately. This process should not affect the other running services.
To use shepherd's herd command, assuming you have permissions granted in /etc/sudoers, the command is 'sudo -u 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 interact with shepherd without needing to switch to the shepherd user. The logs for the various shepherd services are located in /home/shepherd/logs/ but are not yet timestamped. The log for shepherd itself is in /home/shepherd/.config/shepherd/shepherd.log. There is not yet a way to change this from a config file.
+
+*Per service Guix profiles*
+Each service gets its own guix profile. This us to upgrade each service individually. If a specialized channel is needed then the command would be `guix pull --channels=/path/to/channels/file --profile=/path/to/profile`
diff --git a/channels.scm b/channels.scm
new file mode 100644
index 0000000..2842883
--- /dev/null
+++ b/channels.scm
@@ -0,0 +1,6 @@
+(cons*
+ (channel
+ (name 'gn-bioinformatics)
+ (url "http://git.genenetwork.org/guix-bioinformatics/guix-bioinformatics")
+ (branch "master"))
+ %default-channels)