Initial clean commit
This commit is contained in:
18
ops/jody-contact-api.service
Normal file
18
ops/jody-contact-api.service
Normal file
@@ -0,0 +1,18 @@
|
||||
[Unit]
|
||||
Description=Jody Portfolio Contact API
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=www-data
|
||||
Group=www-data
|
||||
WorkingDirectory=/var/www/jody/contact-api
|
||||
EnvironmentFile=/etc/jody/contact-api.env
|
||||
ExecStart=/usr/bin/node /var/www/jody/contact-api/dist/index.js
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user