mirror of
https://github.com/YunoHost-Apps/codimd_ynh.git
synced 2024-09-03 18:16:32 +02:00
Update codimd.service
This commit is contained in:
parent
8506dcc655
commit
9fede5b3b0
1 changed files with 8 additions and 9 deletions
|
@ -1,16 +1,15 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=jdownloader
|
Description=CodiMD service.
|
||||||
After=network.target
|
After=syslog.target network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
WorkingDirectory=/opt/jdownloader/
|
|
||||||
User=admin
|
|
||||||
Group=users
|
|
||||||
Type=simple
|
Type=simple
|
||||||
UMask=000
|
User=__APP__
|
||||||
ExecStart=/usr/bin/java -Djava.awt.headless=true -jar JDownloader.jar
|
Group=__APP__
|
||||||
RestartSec=15
|
WorkingDirectory=__FINALPATH__
|
||||||
|
Environment="PATH=__ENV_PATH__"
|
||||||
|
ExecStart=__NODE__ app.js
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Add table
Reference in a new issue