mirror of
				https://github.com/9001/copyparty.git
				synced 2025-11-03 21:43:12 +00:00 
			
		
		
		
	systemd service: fix install notes, closes #88
the linked issue mentions that creating the `th` folder inside `.hist` failed when RestrictSUIDSGID=true was enabled; this was on raspbian11 inside an ext4 chmod 777 owned by another user, so I have no idea why that option would make any difference... but might as well mention it
This commit is contained in:
		@@ -4,7 +4,7 @@
 | 
				
			|||||||
#
 | 
					#
 | 
				
			||||||
# installation:
 | 
					# installation:
 | 
				
			||||||
#   wget https://github.com/9001/copyparty/releases/latest/download/copyparty-sfx.py -O /usr/local/bin/copyparty-sfx.py
 | 
					#   wget https://github.com/9001/copyparty/releases/latest/download/copyparty-sfx.py -O /usr/local/bin/copyparty-sfx.py
 | 
				
			||||||
#   useradd -r -s /sbin/nologin -d /var/lib/copyparty copyparty
 | 
					#   useradd -r -s /sbin/nologin -m -d /var/lib/copyparty copyparty
 | 
				
			||||||
#   firewall-cmd --permanent --add-port=3923/tcp  # --zone=libvirt
 | 
					#   firewall-cmd --permanent --add-port=3923/tcp  # --zone=libvirt
 | 
				
			||||||
#   firewall-cmd --reload
 | 
					#   firewall-cmd --reload
 | 
				
			||||||
#   cp -pv copyparty.service /etc/systemd/system/
 | 
					#   cp -pv copyparty.service /etc/systemd/system/
 | 
				
			||||||
@@ -12,11 +12,18 @@
 | 
				
			|||||||
#   restorecon -vr /etc/systemd/system/copyparty.service  # on fedora/rhel
 | 
					#   restorecon -vr /etc/systemd/system/copyparty.service  # on fedora/rhel
 | 
				
			||||||
#   systemctl daemon-reload && systemctl enable --now copyparty
 | 
					#   systemctl daemon-reload && systemctl enable --now copyparty
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
 | 
					# every time you edit this file, you must "systemctl daemon-reload"
 | 
				
			||||||
 | 
					# for the changes to take effect and then "systemctl restart copyparty"
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
# if it fails to start, first check this: systemctl status copyparty
 | 
					# if it fails to start, first check this: systemctl status copyparty
 | 
				
			||||||
# then try starting it while viewing logs:
 | 
					# then try starting it while viewing logs:
 | 
				
			||||||
#   journalctl -fan 100
 | 
					#   journalctl -fan 100
 | 
				
			||||||
#   tail -Fn 100 /var/log/copyparty/$(date +%Y-%m%d.log)
 | 
					#   tail -Fn 100 /var/log/copyparty/$(date +%Y-%m%d.log)
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
 | 
					# if you run into any issues, for example thumbnails not working,
 | 
				
			||||||
 | 
					# try removing the "some quick hardening" section and then please
 | 
				
			||||||
 | 
					# let me know if that actually helped so we can look into it
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
# you may want to:
 | 
					# you may want to:
 | 
				
			||||||
#  - change "User=copyparty" and "/var/lib/copyparty/" to another user
 | 
					#  - change "User=copyparty" and "/var/lib/copyparty/" to another user
 | 
				
			||||||
#  - edit /etc/copyparty.conf to configure copyparty
 | 
					#  - edit /etc/copyparty.conf to configure copyparty
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user