diff --git a/contrib/openrc/copyparty b/contrib/openrc/copyparty index f7a06bc8..db684821 100644 --- a/contrib/openrc/copyparty +++ b/contrib/openrc/copyparty @@ -8,11 +8,11 @@ # # you may want to: # change '/usr/bin/python' to another interpreter -# change '/mnt::a' to another location or permission-set +# change '/mnt::rw' to another location or permission-set name="$SVCNAME" command_background=true pidfile="/var/run/$SVCNAME.pid" command="/usr/bin/python /usr/local/bin/copyparty-sfx.py" -command_args="-q -v /mnt::a" +command_args="-q -v /mnt::rw" diff --git a/contrib/systemd/copyparty.service b/contrib/systemd/copyparty.service index bbbc4bf9..fd995c6c 100644 --- a/contrib/systemd/copyparty.service +++ b/contrib/systemd/copyparty.service @@ -6,7 +6,7 @@ # # you may want to: # change '/usr/bin/python' to another interpreter -# change '/mnt::a' to another location or permission-set +# change '/mnt::rw' to another location or permission-set # # with `Type=notify`, copyparty will signal systemd when it is ready to # accept connections; correctly delaying units depending on copyparty. @@ -27,7 +27,7 @@ Description=copyparty file server [Service] Type=notify SyslogIdentifier=copyparty -ExecStart=/usr/bin/python3 /usr/local/bin/copyparty-sfx.py -q -v /mnt::a +ExecStart=/usr/bin/python3 /usr/local/bin/copyparty-sfx.py -q -v /mnt::rw ExecStartPre=/bin/bash -c 'mkdir -p /run/tmpfiles.d/ && echo "x /tmp/pe-copyparty*" > /run/tmpfiles.d/copyparty.conf' [Install]