changes to wekan as service section and removed wefork mentions

Joel Louzado 2017-02-08 13:32:01 +05:30
parent 51520a2054
commit f020180988

@ -160,7 +160,7 @@ cd ~/repos
## Run Wefork manually ## Run Wefork manually
Add to ~/repos/run-wefork.sh Add to ~/repos/run-wekan.sh
```bash ```bash
cd ~/repos/wekan/.build/bundle cd ~/repos/wekan/.build/bundle
@ -182,12 +182,12 @@ export PORT=3000
Make it executeable: Make it executeable:
```bash ```bash
chmod +x ~/repos/run-wefork.sh chmod +x ~/repos/run-wekan.sh
``` ```
You could run it manually with: You could run it manually with:
```bash ```bash
cd ~/repos cd ~/repos
./run-wefork.sh ./run-wekan.sh
``` ```
Done! Done!
@ -202,7 +202,7 @@ Add to to /etc/systemd/system/wekan@.service
[Unit] [Unit]
Description=Wekan server %I Description=Wekan server %I
Documentation=https://github.com/wefork/wekan Documentation=https://github.com/wekan/wekan
After=network-online.target After=network-online.target
Wants=network-online.target Wants=network-online.target
Wants=systemd-networkd-wait-online.service Wants=systemd-networkd-wait-online.service
@ -225,7 +225,8 @@ 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
Environment=ROOT_URL=https://example.com/wekan ; https://example.com/wekan for deployment
Environment=ROOT_URL=http://localhost/wekan
Environment=MAIL_URL='smtp://user:pass@mailserver.example.com:25/' Environment=MAIL_URL='smtp://user:pass@mailserver.example.com:25/'
[Install] [Install]
@ -236,15 +237,15 @@ WantedBy=multi-user.target
#### To start Wekan and enable service, change to your username where Wekan files are: #### To start Wekan and enable service, change to your username where Wekan files are:
```bash ```bash
sudo systemctl daemon-reload sudo systemctl daemon-reload
sudo systemctl start wekan@username sudo systemctl start wekan@<username>
sudo systemctl enable wekan@username sudo systemctl enable wekan@<username>
``` ```
#### To stop Wekan and disable service, change to your username where Wekan files are: #### To stop Wekan and disable service, change to your username where Wekan files are:
```bash ```bash
sudo systemctl daemon-reload sudo systemctl daemon-reload
sudo systemctl stop wekan@username sudo systemctl stop wekan@<username>
sudo systemctl disable wekan@username sudo systemctl disable wekan@<username>
``` ```
Checkout instructions for setup with [[Caddy Webserver Config]] and [[Nginx Webserver Config]] respectively. Checkout instructions for setup with [[Caddy Webserver Config]] and [[Nginx Webserver Config]] respectively.