qwenvl/script/qwenvl.service

14 lines
347 B
SYSTEMD
Raw Normal View History

2024-11-12 15:32:14 +08:00
[Unit]
Description=qwen2-vl inference service
Documention=qwen2-vl inference service to control sage service start or stop
Wants=systemd-networkd.service
Requires=nginx.service
[Service]
Type=forking
ExecStart=su - ymq -c "/d/ymq/py/qwenvl/script/qwenvl.sh"
ExecStop=su - ymq "/d/ymq/bin/killname qwenvl.py"
[Install]
WantedBy=multi-user.target