init import

This commit is contained in:
Олег Бородин
2026-05-24 11:02:51 +02:00
commit 25365aef77
154 changed files with 21501 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
*~
istored
istored.service
+24
View File
@@ -0,0 +1,24 @@
#!/bin/sh
#
# $Id$
#
# PROVIDE: mbased
# REQUIRE: DAEMON
. /etc/rc.subr
name="mbased"
rcvar="mbased_enable"
pidfile="@srv_rundir@/mbased.pid"
command="@prefix@/sbin/${name}"
command_args="--asDaemon=true"
procname="@prefix@/sbin/${name}"
load_rc_config ${name}
: ${mbased_enable:="NO"}
run_rc_command "$1"
#EOF
+12
View File
@@ -0,0 +1,12 @@
[Unit]
Description=mbased
[Service]
Type=forking
PIDFile=@srv_rundir@/mbased.pid
ExecStart=@prefix@/sbin/mbased --asDaemon=true --port=443
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target