title: systemd service doesn't start silently. How to debug?
body: <p>I wrote a program (called whisky) which I now want to startup when booting the machine (a Raspberry Pi with which I'm creating an autonomous boat). So I created the file <code>/lib/systemd/system/whisky.service</code>:</p>
  
  <pre><code>[Unit]
  Description=Whisky Boat Program
  After=network.target
  StartLimitIntervalSec=0
  
  [Service]
  ExecStart=/home/pi/whisky/run
  KillMode=process
  IgnoreSIGPIPE=true
  Restart=always
  RestartSec=3
  User=root
  Type=simple
  
  [Install]
  WantedBy=multi-user.target
  </code></pre>
  
  <p>I verified the file is correctly formatted for systemd using <code>systemd-analyze verify whisky.service</code>.</p>
  
  <p>When I now run <code>sudo systemctl start whisky</code> I get no output (suggesting no errors). </p>
  
  <p><code>sudo systemctl status whisky</code> gives me the following output though:</p>
  
  <pre><code>* whisky.service - Whisky Boat Program
     Loaded: loaded (/lib/systemd/system/whisky.service; enabled; vendor preset: enabled)
     Active: activating (auto-restart) (Result: exit-code) since Fri 2020-03-20 15:03:35 CET; 792ms ago
    Process: 8621 ExecStart=/home/pi/whisky/run (code=exited, status=203/EXEC)
   Main PID: 8621 (code=exited, status=203/EXEC)
  
  Mar 20 15:03:35 raspberrypi systemd[1]: whisky.service: Unit entered failed state.
  Mar 20 15:03:35 raspberrypi systemd[1]: whisky.service: Failed with result 'exit-code'.
  </code></pre>
  
  <p>The file <code>/home/pi/whisky/run</code> is actually a bash script which in turn starts the program. To check whether systemd even starts that bash script I added a first line to it: <code>mkdir /home/pi/RUNNING_FROM_SYSTEMD</code>. The dir <code>RUNNING_FROM_SYSTEMD</code> is not created though, so it seems systemd doesn't even try to run the file <code>/home/pi/whisky/run</code>.</p>
  
  <p>Does anybody know what I'm doing wrong here?</p>