systemctl status shows inactive dead

Few points:

  1. If you use Type=forking, it is recommended to specify PidFile.

  2. In your case, Type=simple, and ExecStart without & will work.

  3. use systemctl start service-name to start a service

  4. Then use systemctl status service-name to check its status. status will be inactive/dead if service is not started.


  • You have set Type=Forking, but your service doesn't work. Try Type=oneshot
  • You have a "&" your ExecStart line, which is not necessary.
  • The service is disabled, which means it was not enabled to start at boot. You should run systemctl enable hello to set it to start at boot.

You can check man systemd.directives to find an index of all the directives that you can use in your unit files.