mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
cleanup + readme
This commit is contained in:
parent
ccae9efdf0
commit
67b0217754
|
@ -29,6 +29,7 @@ however if your copyparty is behind a reverse-proxy, you may want to use [`share
|
||||||
### [`cfssl.sh`](cfssl.sh)
|
### [`cfssl.sh`](cfssl.sh)
|
||||||
* creates CA and server certificates using cfssl
|
* creates CA and server certificates using cfssl
|
||||||
* give a 3rd argument to install it to your copyparty config
|
* give a 3rd argument to install it to your copyparty config
|
||||||
|
* systemd service at [`systemd/cfssl.service`](systemd/cfssl.service)
|
||||||
|
|
||||||
# OS integration
|
# OS integration
|
||||||
init-scripts to start copyparty as a service
|
init-scripts to start copyparty as a service
|
||||||
|
|
|
@ -2,10 +2,11 @@
|
||||||
# and share '/mnt' with anonymous read+write
|
# and share '/mnt' with anonymous read+write
|
||||||
#
|
#
|
||||||
# installation:
|
# installation:
|
||||||
# cp -pv copyparty.service /etc/systemd/system && systemctl enable --now copyparty
|
# cp -pv copyparty.service /etc/systemd/system
|
||||||
# restorecon -vr /etc/systemd/system/copyparty.service
|
# restorecon -vr /etc/systemd/system/copyparty.service
|
||||||
# firewall-cmd --permanent --add-port={80,443,3923}/tcp
|
# firewall-cmd --permanent --add-port={80,443,3923}/tcp
|
||||||
# firewall-cmd --reload
|
# firewall-cmd --reload
|
||||||
|
# systemctl daemon-reload && systemctl enable --now copyparty
|
||||||
#
|
#
|
||||||
# you may want to:
|
# you may want to:
|
||||||
# change "User=cpp" and "/home/cpp/" to another user
|
# change "User=cpp" and "/home/cpp/" to another user
|
||||||
|
@ -24,8 +25,8 @@
|
||||||
# python disabling line-buffering, so messages are out-of-order:
|
# python disabling line-buffering, so messages are out-of-order:
|
||||||
# https://user-images.githubusercontent.com/241032/126040249-cb535cc7-c599-4931-a796-a5d9af691bad.png
|
# https://user-images.githubusercontent.com/241032/126040249-cb535cc7-c599-4931-a796-a5d9af691bad.png
|
||||||
#
|
#
|
||||||
# if you remove -q to enable logging, you may also want to remove the
|
# unless you add -q to disable logging, you may want to remove the
|
||||||
# following line to enable buffering (slightly better performance):
|
# following line to allow buffering (slightly better performance):
|
||||||
# Environment=PYTHONUNBUFFERED=x
|
# Environment=PYTHONUNBUFFERED=x
|
||||||
#
|
#
|
||||||
# keep ExecStartPre before ExecStart, at least on rhel8
|
# keep ExecStartPre before ExecStart, at least on rhel8
|
||||||
|
|
Loading…
Reference in a new issue