mirror of
https://github.com/wekan/wekan.git
synced 2025-12-18 00:10:13 +01:00
clearer install instructions for wekan as service
parent
f020180988
commit
7c95bcfcdc
1 changed files with 4 additions and 3 deletions
|
|
@ -199,6 +199,7 @@ Add to to /etc/systemd/system/wekan@.service
|
||||||
```bash
|
```bash
|
||||||
; see `man systemd.unit` for configuration details
|
; see `man systemd.unit` for configuration details
|
||||||
; the man section also explains *specifiers* `%x`
|
; the man section also explains *specifiers* `%x`
|
||||||
|
; update <username> with username below
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Wekan server %I
|
Description=Wekan server %I
|
||||||
|
|
@ -218,10 +219,10 @@ RestartSec=10
|
||||||
StandardOutput=syslog
|
StandardOutput=syslog
|
||||||
StandardError=syslog
|
StandardError=syslog
|
||||||
SyslogIdentifier=Wekan
|
SyslogIdentifier=Wekan
|
||||||
User=username
|
User=<username>
|
||||||
Group=username
|
Group=<username>
|
||||||
Environment=NODE_ENV=production
|
Environment=NODE_ENV=production
|
||||||
Environment=PWD=/home/username/repos/wekan/.build/bundle
|
Environment=PWD=/home/<username>/repos/wekan/.build/bundle
|
||||||
Environment=PORT=3000
|
Environment=PORT=3000
|
||||||
Environment=HTTP_FORWARDED_COUNT=1
|
Environment=HTTP_FORWARDED_COUNT=1
|
||||||
Environment=MONGO_URL=mongodb://127.0.0.1:27017/admin
|
Environment=MONGO_URL=mongodb://127.0.0.1:27017/admin
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue