add install wiki.js modules + systemd.service

This commit is contained in:
Yalh
2019-01-30 03:11:47 +01:00
parent 04594767de
commit 07d2fa1768
6 changed files with 18 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
[Unit]
Description=Small description of the service
Description=__APP__ service
After=network.target
[Service]
@@ -7,7 +7,7 @@ Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__/
ExecStart=__FINALPATH__/script >> /var/log/__APP__/__APP__.log 2>&1
ExecStart=__NODEJS_PATH__/node __FINALPATH__/server >> /var/log/__APP__/__APP__.log 2>&1
[Install]
WantedBy=multi-user.target