<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
 <channel>
  <atom:link href="https://smaugmuds.afkmods.com/index.php?a=rssfeed&amp;t=5012" rel="self" type="application/rss+xml" />
  <title>SmaugMuds - Topic: A Bash Startup Script</title>
  <link>https://smaugmuds.afkmods.com/index.php?a=rssfeed&amp;t=5012</link>
  <description>The largest Smaug community resource site. - </description>
  <language>en</language>
  <generator>SmaugMuds</generator>
  <ttl>60</ttl>
  <item>
   <title>A Bash Startup Script</title>
   <link>https://smaugmuds.afkmods.com/topic/a-bash-startup-script-5012/&amp;p=24397#p24397</link>
   <description>I dont like tch, so here is a bash script, it also does some log management, keeping the last 3 logs only.  [code] #!/bin/bash # Set the port number (default 4000 or from first argument) port=4000 if [ -n &amp;quot;$1&amp;quot; ]; then port=&amp;quot;$1&amp;quot; fi # Change to area directory cd ../area || { echo &amp;quot;Failed to change directory to ../area&amp;quot;; exit 1; } # Set limits, needed in ubuntu to get core files, also need to give users permissions to /var/lib/systemd/coredump/ to write dumps to ulimit -c u</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/a-bash-startup-script-5012/&amp;p=24397#p24397</guid>
   <pubDate>Sat, 7 Feb 2026 15:49:50 CST</pubDate>
   <category>SmaugFUSS</category>
   <author>nobody@example.com (eldhamud)</author>
  </item>
 </channel>
</rss>
