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.
27 lines
642 B
Desktop File
27 lines
642 B
Desktop File
[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
|