mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 17:12:13 -06:00
19 lines
491 B
Plaintext
19 lines
491 B
Plaintext
#!/sbin/openrc-run
|
|
|
|
# this will start `/usr/local/bin/copyparty-sfx.py`
|
|
# and share '/mnt' with anonymous read+write
|
|
#
|
|
# installation:
|
|
# cp -pv copyparty /etc/init.d && rc-update add copyparty
|
|
#
|
|
# you may want to:
|
|
# change '/usr/bin/python' to another interpreter
|
|
# change '/mnt::rw' to another location or permission-set
|
|
|
|
name="$SVCNAME"
|
|
command_background=true
|
|
pidfile="/var/run/$SVCNAME.pid"
|
|
|
|
command="/usr/bin/python3 /usr/local/bin/copyparty-sfx.py"
|
|
command_args="-q -v /mnt::rw"
|