Changeset 480 for scripts/usr/local/lib/7dtd/commands
- Timestamp:
- Nov 13, 2023, 4:52:22 PM (12 months ago)
- Location:
- scripts/usr/local/lib/7dtd/commands
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/usr/local/lib/7dtd/commands/instances.sh
r478 r480 80 80 cp "$SDTD_BASE/templates/admins.xml" "$IPATH/" 81 81 fi 82 chown -R $SDTD_USER .$SDTD_GROUP $IPATH82 chown -R $SDTD_USER:$SDTD_GROUP $IPATH 83 83 echo "Done" 84 84 } -
scripts/usr/local/lib/7dtd/commands/start.sh
r294 r480 44 44 mkdir "$(getInstancePath $1)/logs" 45 45 fi 46 chown $SDTD_USER .$SDTD_GROUP "$(getInstancePath $1)/logs"46 chown $SDTD_USER:$SDTD_GROUP "$(getInstancePath $1)/logs" 47 47 rm -f $(getInstancePath $1)/logs/output_log.txt 48 48 -
scripts/usr/local/lib/7dtd/commands/updateengine.sh
r479 r480 181 181 fi 182 182 183 chown $SDTD_USER .$SDTD_GROUP -R $SDTD_BASE/engine183 chown $SDTD_USER:$SDTD_GROUP -R $SDTD_BASE/engine 184 184 else 185 185 echo "Engine is already at the newest build on the selected branch \"$BRANCHNAME\" (local: $LOCAL, remote: $REMOTE)." -
scripts/usr/local/lib/7dtd/commands/updatefixes.sh
r258 r480 69 69 if [ -d /usr/local/lib/7dtd/server-fixes ]; then 70 70 cp /usr/local/lib/7dtd/server-fixes/* $SDTD_BASE/engine/ -R 71 chown $SDTD_USER .$SDTD_GROUP -R $SDTD_BASE/engine/71 chown $SDTD_USER:$SDTD_GROUP -R $SDTD_BASE/engine/ 72 72 fi 73 73 fi -
scripts/usr/local/lib/7dtd/commands/updatescripts.sh
r308 r480 70 70 rm -R $TMPPATH 71 71 72 # chown root .root /etc/init.d/7dtd.sh73 chown root .root /etc/bash_completion.d/7dtd74 chown root .root /usr/local/bin/7dtd.sh75 chown root .root /usr/local/lib/7dtd -R72 # chown root:root /etc/init.d/7dtd.sh 73 chown root:root /etc/bash_completion.d/7dtd 74 chown root:root /usr/local/bin/7dtd.sh 75 chown root:root /usr/local/lib/7dtd -R 76 76 # chmod 0755 /etc/init.d/7dtd.sh 77 77 chmod 0755 /etc/bash_completion.d/7dtd … … 82 82 if [ -d /usr/local/lib/7dtd/server-fixes ]; then 83 83 cp /usr/local/lib/7dtd/server-fixes/* $SDTD_BASE/engine/ -R 84 chown $SDTD_USER .$SDTD_GROUP -R $SDTD_BASE/engine/84 chown $SDTD_USER:$SDTD_GROUP -R $SDTD_BASE/engine/ 85 85 fi 86 86 fi
Note:
See TracChangeset
for help on using the changeset viewer.