Ajouter Cooklang/cooklang.service

This commit is contained in:
2026-01-07 14:09:28 +00:00
parent 123d3f7ffc
commit 21be635c85

16
Cooklang/cooklang.service Normal file
View File

@@ -0,0 +1,16 @@
[Unit]
Description=Cooklang Recipe Server
After=network.target
[Service]
Type=simple
User=dietpi
WorkingDirectory=/mnt/cloudascoet/projexts/recipes
Execstart=/usr/local/bin/cook server --host --port 9080
Restart=always
RestartSec=10
StandardOutput=append:/var/log/cooklang.log
StandardError=append:/var/log/cooklang.log
[Install]
WantedBy=multi-user.target