first commit

This commit is contained in:
ericgaspar
2021-08-25 17:42:59 +02:00
commit b24e636395
18 changed files with 1935 additions and 0 deletions

16
conf/systemd.service Normal file
View File

@ -0,0 +1,16 @@
[Unit]
Description=Send: private file sharing
After=syslog.target network.target redis-server.service
[Service]
Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__
Environment="NODE_ENV=production"
#Environment="__YNH_NODE_LOAD_PATH__"
ExecStart=__YNH_NODE__ __FINALPATH__/server/bin/prod.js
Restart=always
[Install]
WantedBy=multi-user.target