feat: add backend, admin console and live monitoring
Integrate tunasync management, SQLite authentication and content settings, real monitoring and per-repository pull speeds. Add Chinese-only announcements and mirror help, editable related links, admin layout updates, deployment tools and tests.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=MirrorOUC read-only host metrics collection
|
||||
[Service]
|
||||
Type=oneshot
|
||||
User=root
|
||||
Group=mirrorouc
|
||||
ExecStart=/usr/bin/python3 /usr/local/lib/mirrorouc/collect_metrics.py
|
||||
UMask=0027
|
||||
NoNewPrivileges=true
|
||||
ProtectSystem=strict
|
||||
ReadWritePaths=/var/lib/mirrorouc/metrics
|
||||
ProtectHome=true
|
||||
PrivateTmp=true
|
||||
Reference in New Issue
Block a user