File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd" >
3+ <plist version =" 1.0" >
4+ <dict >
5+ <key >Label</key >
6+ <string >__LABEL__</string >
7+ <key >ProgramArguments</key >
8+ <array >
9+ <string >__BIN_PATH__</string >
10+ </array >
11+ <key >WorkingDirectory</key >
12+ <string >__ROOT_DIR__</string >
13+ <key >RunAtLoad</key >
14+ <true />
15+ <key >KeepAlive</key >
16+ <true />
17+ <key >StandardOutPath</key >
18+ <string >__STDOUT_PATH__</string >
19+ <key >StandardErrorPath</key >
20+ <string >__STDERR_PATH__</string >
21+ </dict >
22+ </plist >
Original file line number Diff line number Diff line change 1+ [Unit]
2+ Description= __APP_NAME__ blog service
3+ After= network.target
4+
5+ [Service]
6+ Type= simple
7+ User= __USER__
8+ Group= __GROUP__
9+ WorkingDirectory= __ROOT_DIR__
10+ ExecStart= __BIN_PATH__
11+ Restart= always
12+ RestartSec= 3
13+
14+ [Install]
15+ WantedBy= multi-user.target
You can’t perform that action at this time.
0 commit comments