3 changed files with 20 additions and 4 deletions
@ -0,0 +1,9 @@ |
|||
#!/bin/sh |
|||
|
|||
set -eu |
|||
|
|||
( cd "$(dirname "$0")/../" |
|||
|
|||
dune exec -- src/www.exe |
|||
|
|||
) |
@ -0,0 +1,10 @@ |
|||
[Unit] |
|||
Description=www |
|||
After=network-online.target |
|||
|
|||
[Service] |
|||
ExecStart=/home/www/www.zapashcanon.fr/scripts/start.sh |
|||
User=www |
|||
|
|||
[Install] |
|||
WantedBy=multi-user.target |
Loading…
Reference in new issue