X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=installation%2Fopenbsd%2Frc.d%2Fpleromad;fp=installation%2Fopenbsd%2Frc.d%2Fpleromad;h=0000000000000000000000000000000000000000;hb=c0e6f30e4d17bd69b7ddd26aa0c0f1433184128a;hp=19ac4bb5133d5bc0441a72074b9155a65038c8c5;hpb=3d9dabd9147d2ba001d64de0ea5527bc5727dda6;p=akkoma diff --git a/installation/openbsd/rc.d/pleromad b/installation/openbsd/rc.d/pleromad deleted file mode 100755 index 19ac4bb51..000000000 --- a/installation/openbsd/rc.d/pleromad +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/ksh -# -# Default init file for Pleroma on OpenBSD -# -# Simple installation instructions: -# 1. Install Pleroma per wiki instructions -# 2. Place this pleromad file in /etc/rc.d -# 3. Enable and start Pleroma -# # doas rcctl enable pleromad -# # doas rcctl start pleromad -# - -daemon="/usr/local/bin/elixir" -daemon_flags="--detached -S /usr/local/bin/mix phx.server" -daemon_user="_pleroma" - -. /etc/rc.d/rc.subr - -rc_reload=NO -pexp="phx.server" - -rc_check() { - pgrep -q -U _pleroma -f "phx.server" -} - -rc_start() { - ${rcexec} "cd pleroma; ${daemon} ${daemon_flags}" -} - -rc_stop() { - pkill -q -U _pleroma -f "phx.server" -} - -rc_cmd $1