<div dir="ltr"><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large">Hi All,</div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large"><br></div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large">I'm a newbie in Systemd init system and I'm trying to auto boot/start my service in systemd. But my service gets only enabled and it never runs automatically.</div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large"><br></div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large">I modifying my unit file to depend on sysinit.target and multi-user.target by making use of I used <i>After=</i> this also didnt help. <br></div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large"><i><b><br></b></i></div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large"><i><b>I would like to do something in my unit file from which systemd starts my service automatically after starting it's own system related services. </b></i></div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large"><br></div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large">Can anyone help me regarding this ?<br></div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large"><br></div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large"><br></div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large">My sample service </div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large">=============</div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large">[Unit]</div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large">Description=Hey Bings</div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large"><br></div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large">[Service]</div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large">ExecStart="Run an executable"</div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large"><br></div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large">[Install]<br></div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large">WantedBy=multi-user.target <i>or</i> sysinit.target</div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large"><br></div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large"><br></div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large">--<br></div><div><div class="gmail_signature"><div dir="ltr"><div><font face="times new roman,serif"><font size="4">Regards,<br><br>Raghavendra. H. R<br>(Raghu)</font><br></font></div></div></div></div>
</div>