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,26 @@
|
||||
[Unit]
|
||||
Description=MirrorOUC web and administration API
|
||||
After=network.target tunasync-manager.service mirrorouc-config.service
|
||||
Wants=mirrorouc-config.service
|
||||
|
||||
[Service]
|
||||
User=mirrorouc
|
||||
Group=mirrorouc
|
||||
WorkingDirectory=/opt/mirrorouc/current
|
||||
EnvironmentFile=/etc/mirrorouc/mirrorouc.env
|
||||
ExecStart=/opt/mirrorouc/current/mirrorouc
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
UMask=0077
|
||||
NoNewPrivileges=true
|
||||
PrivateTmp=true
|
||||
ProtectSystem=strict
|
||||
ProtectHome=true
|
||||
ReadWritePaths=/var/lib/mirrorouc
|
||||
ProtectKernelTunables=true
|
||||
ProtectControlGroups=true
|
||||
RestrictSUIDSGID=true
|
||||
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user