refactor!: rename the project from Monitor to MoShiro
Namespaces, assemblies, projects and directories, the solution, binaries, images, systemd units, config paths, environment variables, protocol method names, the media type and the raw chunk magic all move to MoShiro/moshiro. Existing data and deployments are not compatible and must be recreated. Also fix the architecture tests after the solution layout change and make the update tests independent of their order.
This commit is contained in:
1 parent
17b35223aa
commit
83e5120377
309 files changed
+1505
-1499
No files matched your search
@@ -1 +0,0 @@
|
||||
/etc/monitor/
|
||||
@@ -1,16 +1,16 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
# procd service for monitor-probe (OpenWrt). Installed as /etc/init.d/monitor-probe.
|
||||
# procd service for moshiro-probe (OpenWrt). Installed as /etc/init.d/moshiro-probe.
|
||||
|
||||
START=95
|
||||
STOP=10
|
||||
USE_PROCD=1
|
||||
|
||||
PROG=/usr/lib/monitor/monitor-probe
|
||||
CONF=/etc/monitor/probe.json
|
||||
PROG=/usr/lib/moshiro/moshiro-probe
|
||||
CONF=/etc/moshiro/probe.json
|
||||
|
||||
start_service() {
|
||||
[ -f "$CONF" ] || {
|
||||
logger -t monitor-probe "$CONF not found: download it from the panel (POST /api/admin/probe/identity)"
|
||||
logger -t moshiro-probe "$CONF not found: download it from the panel (POST /api/admin/probe/identity)"
|
||||
return 1
|
||||
}
|
||||
procd_open_instance
|
||||
@@ -21,6 +21,6 @@ start_service() {
|
||||
procd_set_param stderr 1
|
||||
procd_set_param limits nofile=4096
|
||||
# Run unprivileged when the installer could create the user (busybox adduser may be missing)
|
||||
id monitor >/dev/null 2>&1 && procd_set_param user monitor
|
||||
id moshiro >/dev/null 2>&1 && procd_set_param user moshiro
|
||||
procd_close_instance
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
/etc/moshiro/
|
||||
Reference in new issue
Block a user