We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 351da04 commit bbddae6Copy full SHA for bbddae6
deploy/setup_systemd.sh
@@ -0,0 +1,18 @@
1
+# Copyright (c) ClaceIO, LLC
2
+# SPDX-License-Identifier: Apache-2.0
3
+
4
+# Script to create the openrun user/group, install and then create the systemd service
5
6
+set -ex
7
+groupadd --system openrun
8
+useradd --system --gid openrun --create-home --home-dir /var/lib/openrun \
9
+ --shell /usr/bin/bash --comment "OpenRun" openrun
10
11
+su -l openrun /bin/bash -c "export OPENRUN_HOME=/var/lib/openrun; curl -sSL https://openrun.dev/install.sh | sh"
12
13
+mkdir -p /etc/systemd/system
14
+curl -sSLo /etc/systemd/system/openrun.service https://raw.githubusercontent.com/openrundev/openrun/main/deploy/init/openrun.service
15
16
+systemctl daemon-reload
17
+systemctl enable --now openrun
18
+systemctl status openrun
0 commit comments