mirror of
https://github.com/YunoHost-Apps/peertube_ynh.git
synced 2024-09-03 19:56:29 +02:00
1bab3c1248
* Updated dependencies and typos * [add] French description Description is missing in French apps list. * Updated to version 1.0.0-beta.15 * Fix systemd and redundancy (#46) * fixed env in systemd * changed path while creating password * changed path while creating password * changed path while creating password * changed path while creating password * Path in systemd * Fixed yarn in upgrade
20 lines
445 B
Desktop File
20 lines
445 B
Desktop File
[Unit]
|
|
Description=__APP__ daemon
|
|
After=network.target postgresql.service redis-server.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
Environment=NODE_ENV=production
|
|
Environment=NODE_CONFIG_DIR=__FINALPATH__/config
|
|
User=__APP__
|
|
Group=__APP__
|
|
Environment="PATH=__ENV_PATH__"
|
|
ExecStart=/bin/sh -c ' npm start'
|
|
WorkingDirectory=__FINALPATH__/
|
|
StandardOutput=syslog
|
|
StandardError=syslog
|
|
SyslogIdentifier=__APP__
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|