title: New systemd service failing (status=203/EXEC)
body: <p>I'm quite new to systemd and linux in general, so you'll have to bear with me here.</p>
  <p>My service is written as follows:</p>
  <pre><code>[Unit]
  Description=Run Master Print Service.
  
  [Service]
  Type=simple
  ExecStart=/usr/bin/cwsLogging02.sh cwsMPS.service mps
  
  [Install]
  WantedBy=multi-user.target
  </code></pre>
  <p>And the shell script that I would like to run:</p>
  <pre><code>Date=`date '+%Y-%m-%d %H:%M:%S'`
  echo &quot;$1 service started at ${DATE}&quot; | systemd-cat -p info
  
  while true
  do
  systemctl is-active $1
  IS_SYSTEM_ACTIVE=$?
  if [ $IS_SYSTEM_ACTIVE = 0 ]; then
  echo &quot;$2 is running.&quot;
  elif [ $IS_SYSTEM_ACTIVE = 3]; then
  echo &quot;$2 is inactive.&quot;
  else
  echo &quot;$2 status: $IS_SYSTEM_ACTIVE&quot;
  fi
  sleep 5
  done
  </code></pre>
  <p>The shell script runs fine when I run it directly from the command line, but when I attempt to run <code>sudo systemctl status cwsMPS</code> (after starting and enabling), <a href="https://i.stack.imgur.com/G2Ql0.png" rel="nofollow noreferrer">I get this message.</a></p>
  <p><a href="https://i.stack.imgur.com/Bu3cR.png" rel="nofollow noreferrer">I also have this problem</a>, but I'm not sure if the two issues are related.</p>
  <p>Any ideas on what to do here?</p>