Improve deployment config wip

This commit is contained in:
2025-02-26 19:51:28 +01:00
parent ece4af3d17
commit a7aa60b4b7
2 changed files with 28 additions and 2 deletions
+19
View File
@@ -0,0 +1,19 @@
[Unit]
Description=Touch Programming API Service
[Service]
ExecStart=/usr/local/bin/touch-programming-api
WorkingDirectory=/usr/local/bin
User=hazem
Group=hazem
LimitNOFILE=65536
Restart=on-failure
TimeoutSec=30
PrivateTmp=true
ProtectSystem=full
ProtectHome=yes
NoNewPrivileges=true
AmbientCapabilities=CAP_NET_BIND_SERVICE
[Install]
WantedBy=multi-user.target