summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2022-06-15 14:56:13 +0530
committerArun Isaac2022-06-15 14:56:13 +0530
commit91ee93fc26df5064d7c64bdaa4838669d23cdf53 (patch)
tree8476382aea3805a476162bce48da21d7f263a11b
parent3205695c90e1c76e776df170fe4f29eea0b4b3f5 (diff)
downloadgn-gemtext-91ee93fc26df5064d7c64bdaa4838669d23cdf53.tar.gz
virtuoso: Document hack to get PID of container shepherd.
* topics/systems/virtuoso.gmi (Running virtuoso)[Running virtuoso in a guix system container]: Document hack to get PID of container shepherd.
-rw-r--r--topics/systems/virtuoso.gmi5
1 files changed, 4 insertions, 1 deletions
diff --git a/topics/systems/virtuoso.gmi b/topics/systems/virtuoso.gmi
index 7ff6b04..b48fbef 100644
--- a/topics/systems/virtuoso.gmi
+++ b/topics/systems/virtuoso.gmi
@@ -39,10 +39,13 @@ sudo $(guix system container --network --share=/tmp/virtuoso-state=/var/lib/virt
```
When running the above command, you will be given the container's PID. Should you want to inspect the container, you can run:
-
```
sudo nsenter -at PID /run/current-system/profile/bin/bash
```
+If you have only one shepherd process running on your system, you may use the following quick hack to get the PID.
+```
+sudo nsenter -at $(pgrep shepherd) /run/current-system/profile/bin/bash
+```
Also, in this set-up, note that the conductor web interface is not supported in the GUIX Service that's part of guix-bioinformatics. It isn't required for using virtuoso as a SPARQL server and only adds to the confusion.