Systemd service

This commit is contained in:
Feufochmar 2019-11-06 16:30:35 +01:00
parent c4e7d814f0
commit a0514222d0
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
[Unit]
Description=feuforeve.fr dynamic website - v4
[Service]
#User=http
#Group=http
WorkingDirectory=/opt/feuforeve-v4
## Uncomment the next line to update the sources if:
# - the installation is a git clone
# - a git pull is wanted every time the server is started
#ExecStartPre=/usr/bin/git pull
ExecStart=/usr/bin/racket main.rkt
[Install]
WantedBy=multi-user.target