Explain the systemd service Type= options.
AdvancedConceptProcesses, Signals & systemd
Answer
simple(default): ExecStart process is the service; started immediately after fork.exec: like simple but considered started only afterexecve()succeeds (catches missing binaries).forking: traditional daemon that forks and the parent exits; usePIDFile=.oneshot: runs to completion; often withRemainAfterExit=yes.notify: the service callssd_notify("READY=1")when truly ready.dbus,idle: less common.
Wrong Type= causes timeouts or systemd thinking a running service died.
More on Processes, Signals & systemd
What is the difference between a program, a process and a thread?BeginnerHow are new processes created in Linux?IntermediateWhat is a zombie process, and how do you get rid of it?IntermediateWhat is an orphan process?BeginnerExplain the process states shown in ps (R, S, D, T, Z).IntermediateWhy can't you kill a process in D state?Advanced