title: Restart a separated process service when it's killed, without binding it to the app's main process
body: <p>I would like to know if is there any way to restart a separated process service when it's killed (or crashes), without binding it to the app's main process (I want the service to remain running even when the app's main process is killed due to whatever reason).</p>
  
  <p>Currently, that service is started by the system through the AndroidManifest:</p>
  
  <pre><code>&lt;service
      android:name=".services.MySeparatedProcessService"
      android:exported="true"
      android:label="SeparatedProcessService"
      android:process=":separatedProcess"
      android:stopWithTask="false"&gt;
      &lt;intent-filter&gt;
          &lt;action android:name="android.service.notification.MySeparatedProcessService" /&gt;
      &lt;/intent-filter&gt;
  &lt;/service&gt;
  </code></pre>
  
  <p>The problem is that, when the system starts it, the following callback is <strong>not</strong> called:</p>
  
  <pre><code>public int onStartCommand(Intent intent, int flags, int startId)
  </code></pre>
  
  <p>So I am not able to return <code>START_STICKY</code>.</p>