aboutsummaryrefslogtreecommitdiff
path: root/gn/services/bnw-README
diff options
context:
space:
mode:
authorEfraim Flashner2019-12-22 03:49:03 -0600
committerEfraim Flashner2019-12-22 03:49:03 -0600
commit5856fb3878e69a2091afbfdd3b15268e310f82e3 (patch)
treea4bd7cf668275279bcbf01ede37954f8087d7172 /gn/services/bnw-README
parent3035ea5144af76b6ff260b1bceef3feafec8a177 (diff)
downloadguix-bioinformatics-5856fb3878e69a2091afbfdd3b15268e310f82e3.tar.gz
gn: Update bnw service
Diffstat (limited to 'gn/services/bnw-README')
-rw-r--r--gn/services/bnw-README14
1 files changed, 5 insertions, 9 deletions
diff --git a/gn/services/bnw-README b/gn/services/bnw-README
index 29cc816..ab7de53 100644
--- a/gn/services/bnw-README
+++ b/gn/services/bnw-README
@@ -1,10 +1,9 @@
SETUP:
The setup process works like this:
-$ guix build bnw
-$ mkdir -p /home/bnw/server/bnw
-$ cp -a $(guix build bnw)/* /home/bnw/server/bnw/
-$ chmod a+w /home/bnw/server -R
+$ guix pull
+$ cd guix-bioinformatics && git pull
+# systemctl enable --now bnw.service
for testing changes to the container, you'll want to do the following (or thereabouts):
$ guix system container gn/services/GN1-container.scm --share=/home/bnw/server=/srv/http --network
@@ -15,8 +14,5 @@ see included bnw.service
for upgrades:
$ guix pull
-$ rm -rf /home/bnw/server
-$ guix build bnw
-$ mkdir -p /home/bnw/server/bnw
-$ cp -a $(guix build bnw)/* /home/bnw/server/bnw/
-$ chmod a+w /home/bnw/server -R
+$ cd guix-bioinformatics && git pull
+# systemctl restart bnw.service