Difference between revisions of "Type=simple"

From wikieduonline
Jump to navigation Jump to search
(Removed redirect to Type=)
Tag: Removed redirect
Line 1: Line 1:
  
 +
 +
 +
ChatGPT example:
  
 
  [Unit]
 
  [Unit]
Line 6: Line 9:
 
  [Service]
 
  [Service]
 
  Type=simple
 
  Type=simple
  ExecStart=/path/to/yarn start
+
  [[ExecStart]]=/path/to/yarn start
  WorkingDirectory=/path/to/project  
+
  [[WorkingDirectory]]=/path/to/project  
 
   
 
   
 
  [Install]  
 
  [Install]  
  WantedBy=multi-user.target
+
  [[WantedBy]]=[[multi-user.target]]
  
  

Revision as of 17:42, 6 July 2023


ChatGPT example:

[Unit]
Description=My Yarn Start Service
  
[Service]
Type=simple
ExecStart=/path/to/yarn start
WorkingDirectory=/path/to/project 

[Install] 
WantedBy=multi-user.target



Type=

Advertising: