14 lines
347 B
SYSTEMD
14 lines
347 B
SYSTEMD
|
[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
|
||
|
|