Ajouter Cooklang/cooklang.service
This commit is contained in:
16
Cooklang/cooklang.service
Normal file
16
Cooklang/cooklang.service
Normal 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
|
||||||
Reference in New Issue
Block a user