Initialize Clash Web source and deployment documentation
This commit is contained in:
commit
8e0fa00a73
66 files changed
+8532
No files matched your search
@@ -0,0 +1,23 @@
|
||||
[Unit]
|
||||
Description=Clash Web management
|
||||
After=network-online.target clashweb-mihomo.service
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=clashweb
|
||||
Group=clashweb
|
||||
SupplementaryGroups=clashweb-core
|
||||
EnvironmentFile=/etc/clashweb/env
|
||||
ExecStart=/usr/local/bin/clashweb
|
||||
Restart=on-failure
|
||||
RestartSec=3
|
||||
UMask=0027
|
||||
ProtectSystem=strict
|
||||
ProtectHome=true
|
||||
PrivateTmp=true
|
||||
ReadWritePaths=/var/lib/clashweb /var/lib/clashweb-core
|
||||
RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX AF_NETLINK
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in new issue
Block a user