f8cef413d6
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.
23 lines
519 B
Desktop File
23 lines
519 B
Desktop File
[Unit]
|
|
Description=MirrorOUC per-mirror upstream TCP receive rates
|
|
After=tunasync-worker.service
|
|
|
|
[Service]
|
|
User=root
|
|
Group=mirrorouc
|
|
ExecStart=/usr/bin/python3 /usr/local/lib/mirrorouc/collect_job_speeds.py
|
|
Restart=on-failure
|
|
RestartSec=3
|
|
UMask=0027
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
ProtectHome=true
|
|
ProtectSystem=strict
|
|
ReadWritePaths=/var/lib/mirrorouc/metrics
|
|
ProtectKernelTunables=true
|
|
ProtectControlGroups=true
|
|
RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|