mirror of
https://github.com/YunoHost-Apps/wikijs_ynh.git
synced 2024-09-03 20:36:09 +02:00
16 lines
319 B
Desktop File
16 lines
319 B
Desktop File
[Unit]
|
|
Description=__APP__ service
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=__APP__
|
|
Group=__APP__
|
|
WorkingDirectory=__FINALPATH__
|
|
ExecStart=__FINALPATH__/server/index.js
|
|
Restart=always
|
|
Environment=PATH=/usr/bin:/usr/local/bin:__NODEJS_PATH__
|
|
Environment=NODE_ENV=production
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|