update at 2026-02-08 22:31:25
This commit is contained in:
14
apiserver/font2svg-api.service.example
Normal file
14
apiserver/font2svg-api.service.example
Normal file
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Font2SVG API Server
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=gavin
|
||||
WorkingDirectory=/home/gavin/font2svg
|
||||
ExecStart=/home/gavin/font2svg/.venv/bin/python /home/gavin/font2svg/apiserver/server.py --host 127.0.0.1 --port 9300 --static-root /home/gavin/font2svg
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user