mirror of
https://github.com/YunoHost-Apps/distbin_ynh.git
synced 2024-09-03 18:26:10 +02:00
14 lines
364 B
Desktop File
14 lines
364 B
Desktop File
[Unit]
|
|
Description=Distbin Service
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=__APP__
|
|
Group=__APP__
|
|
Environment="PATH=__NODEJS_PATH__"
|
|
WorkingDirectory=__FINALPATH__/
|
|
ExecStart=__FINALPATH__/node_modules/.bin/ts-node --project __FINALPATH__/tsconfig.json __FINALPATH__/bin/server.ts >> /var/log/__APP__/__APP__.log 2>&1
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|