Skip to content

Instantly share code, notes, and snippets.

@stpettersens
Last active July 28, 2025 23:43
Show Gist options
  • Save stpettersens/63cf1d060da8352d7a2658111abeaa98 to your computer and use it in GitHub Desktop.
Save stpettersens/63cf1d060da8352d7a2658111abeaa98 to your computer and use it in GitHub Desktop.
Copyparty OpenRC service
#!/sbin/openrc-run
# This will start `/usr/local/bin/copyparty-sfx`
#
# Installation:
# cp -pv copyparty /etc/init.d && rc-update add copyparty
#
# You may want to:
# change '/usr/bin/python3' to another interpreter
name="$SVCNAME"
command_background=true
pidfile="/var/run/$SVCNAME.pid"
command="/usr/bin/python3 /usr/local/bin/copyparty-sfx"
command_args="-q -i 127.0.0.1 -p 3923 --dedup -c /etc/copyparty.conf"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment