summaryrefslogtreecommitdiff
path: root/syntax-highlighting.service.in
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2022-11-11 07:54:08 -0500
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2022-11-11 07:58:21 -0500
commit00aa9237051d7b763ea038be4cb74df317ebd9f6 (patch)
tree16b901f83d056bdb22248007d042eb9aa55f3e47 /syntax-highlighting.service.in
parentc45f985fe340e22920e65b31511238096409ba91 (diff)
downloadcgit-syntax-highlighting-00aa9237051d7b763ea038be4cb74df317ebd9f6.tar.xz
cgit-syntax-highlighting-00aa9237051d7b763ea038be4cb74df317ebd9f6.zip
rewrite to starlette
Diffstat (limited to 'syntax-highlighting.service.in')
-rw-r--r--syntax-highlighting.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax-highlighting.service.in b/syntax-highlighting.service.in
index 02b5cf1..c65e163 100644
--- a/syntax-highlighting.service.in
+++ b/syntax-highlighting.service.in
@@ -3,7 +3,7 @@ Description=syntax highlighting server
[Service]
Type=simple
-ExecStart=@libdir@/cgit/syntax-highlighting-server.py
+ExecStart=/usr/bin/uvicorn --app-dir @libdir@/cgit --port 4872 syntax-highlighting-server:app
DynamicUser=yes
IPAddressAllow=localhost