mirror of
https://github.com/HackPlan/RootPanel.git
synced 2026-03-30 06:54:42 +08:00
13 lines
425 B
Plaintext
13 lines
425 B
Plaintext
[program:<%= program.program_name %>]
|
|
command = <%= program.command %>
|
|
autostart = <%= program.autostart.toString() %>
|
|
autorestart = <%= program.autorestart %>
|
|
user = <%= account.username %>
|
|
redirect_stderr = true
|
|
<% if (program.stdout_logfile !== false) { %>
|
|
stdout_logfile = /home/<%= account.username %>/supervisor-<%= program.name %>.log
|
|
<% } %>
|
|
<% if(program.directory) { %>
|
|
directory = <%= program.directory %>
|
|
<% } %>
|