Ajouter 'ghost/systemd'
This commit is contained in:
parent
2301403a97
commit
73bc860428
|
@ -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
|
Loading…
Reference in New Issue