diff options
Diffstat (limited to 'syntax-highlighting.service.in')
-rw-r--r-- | syntax-highlighting.service.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/syntax-highlighting.service.in b/syntax-highlighting.service.in index 38faaa8..c65e163 100644 --- a/syntax-highlighting.service.in +++ b/syntax-highlighting.service.in @@ -3,8 +3,9 @@ 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 IPAddressDeny=any LockPersonality=yes |