title: Start ruby rake task on server boot
body: <p>I have a couple of rails rake tasks that I need to start on server bootup. I have been looking to make them run as traditional services using systemd. The service file is created under <code>/etc/system/systemd</code> but unfortunately it looks like systemd did not find the file:</p>
  
  <pre><code>#systemctl start screens.service
  Failed to issue method call: Unit screens.service failed to load: No such file or directory. See system logs and 'systemctl status screens.service' for details.
  
  #systemctl status screens.service
  screens.service
        Loaded: error
        Active: inactive (dead)
  </code></pre>
  
  <p>I am currently using Fedora 15</p>
  
  <p>How can I make my systemd service work? Is there another way I could make my rake tasks run at system boot.</p>
  
  <p><strong>Update:</strong> screens.service file content</p>
  
  <pre><code>[Unit]
  Description=Send Reminders
  
  [Service]
  Type=simple
  User=myuser
  WorkingDirectory=/path/to/rails/app
  ExecStart=/usr/local/rvm/gems/ruby-1.9.3-p194/bin/rake reminders:send
  </code></pre>
  
  <p>I know that I need to set dependencies when I need it to work on bootup, but currently I am trying to start my rake using systemctl command and worry about it dependencies later.</p>