feat: Linux练习平台
- Web界面Linux命令练习 - Python后端 + sandbox安全沙箱 - 课程和任务管理
This commit is contained in:
17
linux-practice.service
Normal file
17
linux-practice.service
Normal file
@@ -0,0 +1,17 @@
|
||||
[Unit]
|
||||
Description=Linux Practice Server (reverse proxied by Caddy)
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=llm
|
||||
Group=llm
|
||||
WorkingDirectory=/home/llm/projects/linux-practice
|
||||
ExecStart=/usr/bin/python3 /home/llm/projects/linux-practice/server.py
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user