Ajouter 'ghost/systemd'

This commit is contained in:
Dryusdan 2018-07-12 12:53:23 +02:00
parent 2301403a97
commit 73bc860428
1 changed files with 15 additions and 0 deletions

15
ghost/systemd Normal file
View File

@ -0,0 +1,15 @@
[Unit]
Description=www-dryusdan-fr
After=network.target
[Service]
Type=simple
User=ghost
WorkingDirectory=/var/www/www.dryusdan.fr
Environment="NODE_ENV=production"
ExecStart=/usr/bin/node index.js
TimeoutSec=15
Restart=always
[Install]
WantedBy=multi-user.target