send_ynh/conf/systemd.service
2021-08-25 17:46:24 +02:00

17 lines
343 B
Desktop File

[Unit]
Description=Send: private file sharing
After=syslog.target network.target
[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