Added systemd units.

This commit is contained in:
2023-07-30 19:04:15 -04:00
parent 1693d0604c
commit 1a3c484735
2 changed files with 31 additions and 0 deletions

10
nibasaviewer.socket Normal file
View File

@@ -0,0 +1,10 @@
[Unit]
Description=NibasaViewer Gunicorn socket
[Socket]
SocketUser=nibasaviewer
SocketGroup=nibasaviewer
ListenStream=/run/nibasaviewer.sock
[Install]
WantedBy=sockets.target