Skip to content

Commit 3b56f52

Browse files
committed
feat: add openrc scripts
1 parent 086b770 commit 3b56f52

2 files changed

Lines changed: 26 additions & 0 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/sbin/openrc-run
2+
3+
export UNPRIVILEGED_PATH="${HOMEBREW_FOLDER}"
4+
export PRIVILEGED_PATH="${HOMEBREW_FOLDER}"
5+
export LOG_LEVEL="DEBUG"
6+
7+
supervisor=supervise-daemon
8+
directory="${HOMEBREW_FOLDER}/services"
9+
command="${HOMEBREW_FOLDER}/services/PluginLoader"
10+
11+
depend() {
12+
need net
13+
}

dist/plugin_loader-release.openrc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/sbin/openrc-run
2+
3+
export UNPRIVILEGED_PATH="${HOMEBREW_FOLDER}"
4+
export PRIVILEGED_PATH="${HOMEBREW_FOLDER}"
5+
export LOG_LEVEL="INFO"
6+
7+
supervisor=supervise-daemon
8+
directory="${HOMEBREW_FOLDER}/services"
9+
command="${HOMEBREW_FOLDER}/services/PluginLoader"
10+
11+
depend() {
12+
need net
13+
}

0 commit comments

Comments
 (0)