[Unit] Description=Predator Pics After=network.target [Service] Type=simple User=user_here ExecStart=/usr/bin/ruby /path/to/server.rb Restart=always WorkingDirectory=/path/to/server.rb StandardOutput=journal StandardError=journal [Install] WantedBy=multi-user.target