#!/sbin/openrc-run
# NAS OS 웹 화면 (https://<이름>.local, http 는 https 로 넘김) — 첫 설정 마법사, 이후 관리 화면

description="NAS OS web interface"
command=/usr/sbin/nasctl
command_args="web --listen 0.0.0.0:443 --http 0.0.0.0:80"
output_log=/var/log/nasos-web.log
error_log=/var/log/nasos-web.log
# 죽으면 다시 살린다
supervisor=supervise-daemon
respawn_delay=3

depend() {
	need net localmount
	after avahi-daemon
}
