Last active
July 28, 2025 23:43
-
-
Save stpettersens/63cf1d060da8352d7a2658111abeaa98 to your computer and use it in GitHub Desktop.
Copyparty OpenRC service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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