Overview
Running copyparty as a systemd service ensures it starts automatically on boot and can be managed using standard systemd commands. This guide covers installation and configuration of copyparty as both a system-wide and user service.System Service Installation
1
Download copyparty
Download the latest copyparty SFX to Or if installed via package manager:
/usr/local/bin:2
Create copyparty user
Create a dedicated user for running the service:
3
Configure firewall
Open the required ports:
4
Install service file
Download and install the systemd service file:Or create
/etc/systemd/system/copyparty.service with the following content:5
Create configuration file
Create
/etc/copyparty.conf with your settings:6
SELinux configuration (Fedora/RHEL)
If using SELinux:
7
Enable and start service
8
Verify service status
Check that the service is running:
User Service Installation
For running copyparty as a regular user without root privileges:1
Install user service file
Create
~/.config/systemd/user/copyparty.service:2
Create user configuration
Create
~/.config/copyparty/copyparty.conf with your settings.3
Enable user service
Multi-Instance Setup
Run multiple copyparty instances with different configurations using template services:1
Create template service
Create
/etc/systemd/system/copyparty@.service:2
Start instance for specific user
Chroot (prisonparty) Setup
For enhanced security, run copyparty in a chroot environment:1
Download prisonparty script
2
Create jail directory
3
Install prisonparty service
Create
/etc/systemd/system/prisonparty.service:4
Enable and start
Service Management
Common Commands
Configuration Reload
Copyparty supports reloading accounts and volumes without restarting:Changes to the
[global] section require a full restart to take effect.Troubleshooting
Service Won’t Start
-
Check service status:
-
View detailed logs:
-
Verify configuration:
Thumbnails Not Working
If thumbnails aren’t working, try removing the security hardening options temporarily:Permission Issues
Ensure the copyparty user has access to shared directories:Advanced Configuration
Logging to File
The service creates/var/log/copyparty/ automatically. Configure logging in /etc/copyparty.conf:
Listening on Ports 80/443
To listen on privileged ports without running as root:- Ensure
AmbientCapabilities=CAP_NET_BIND_SERVICEis in the service file - Update configuration:
- Reload and restart:
A reverse proxy (nginx/Apache) is recommended instead of direct port 80/443 access.
Next Steps
Docker Deployment
Run copyparty in a container
Reverse Proxy
Set up nginx or Apache
Security
Harden your installation