Skip to content

Commit b4b1942

Browse files
Updated text on self-hosted runners.
1 parent afa458c commit b4b1942

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

developer_area.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -891,6 +891,23 @@ D. Set up the github application to run automatically as a service so that
891891
sudo ./svc.sh install
892892
reboot
893893

894+
For environments where you do not have ``sudo`` (e.g. for running on bare
895+
metal rather than a VM), you will instead have to::
896+
897+
cd $HOME/actions-runner
898+
./run.sh >stdout 2>stderr &
899+
disown -ah
900+
901+
every time you boot the machine.
902+
903+
.. warning::
904+
905+
Make sure you do not ``sudo ./run.sh``. This will start the runner as ``root``,
906+
which is insecure and ``mpirun`` may refuse to run as ``root``.
907+
If this happens, to recover you will have to nuke
908+
the ``_work`` directory because it will now be owned by ``root``, preventing
909+
future, correctly-started instances from writing to it or removing it.
910+
894911
E. If you used a non-server ISO, best to get rid of booting to X11.
895912
You can skip this step if you picked a server ISO in step 1.
896913
As root or a sudoer edit ``/etc/default/grub`` to include::

0 commit comments

Comments
 (0)