Browse Source

changed gem path to new default path

master
Dan 1 month ago
parent
commit
9aabbf7181
Signed by: dan GPG Key ID: 7DFC51AC7A70FBAB
1 changed files with 7 additions and 7 deletions
  1. +7
    -7
      content/pwoss/wiki.md

+ 7
- 7
content/pwoss/wiki.md View File

@ -235,9 +235,9 @@ gem update
Copy `config.rb`, `public` and the `templates` into your wiki.
```
cp ~/.gem/ruby/2.7.0/gems/gollum-5.*/config.rb ~/your/wiki/path/config.rb
cp -r ~/.gem/ruby/2.7.0/gems/gollum-5.*/lib/gollum/public/gollum ~/your/wiki/path/public
cp -r ~/.gem/ruby/2.7.0/gems/gollum-5.*/lib/gollum/templates ~/your/wiki/path/public/templates
cp ~/.local/share/gem/ruby/2.7.0/gems/gollum-5.*/config.rb ~/your/wiki/path/config.rb
cp -r ~/.local/share/gem/ruby/2.7.0/gems/gollum-5.*/lib/gollum/public/gollum ~/your/wiki/path/public
cp -r ~/.local/share/gem/ruby/2.7.0/gems/gollum-5.*/lib/gollum/templates ~/your/wiki/path/public/templates
```
 
@ -257,9 +257,9 @@ After=network.target
[Service]
Type=simple
User=USER
Group=USER
Group=GROUP
WorkingDirectory=/home/USER/your/wiki/path
ExecStart=/bin/bash -c "PATH=/home/USER/.gem/ruby/2.7.0/bin:$PATH exec gollum --config /home/USER/your/wiki/path/config.rb --template-dir /home/USER/your/wiki/path/public/templates/ --css"
ExecStart=/bin/bash -c "PATH=/home/USER/.local/share/gem/ruby/2.7.0/bin:$PATH exec gollum --config /home/USER/your/wiki/path/config.rb --template-dir /home/USER/your/wiki/path/public/templates/ --css"
Restart=on-abort
[Install]
@ -314,11 +314,11 @@ Group=USER
# your-wiki
#WorkingDirectory=/home/USER/your/wiki/path
#ExecStart=/bin/bash -c "PATH=/home/USER/.gem/ruby/2.7.0/bin:$PATH exec gollum --config /home/USER/your/wiki/path/config.rb --template-dir /home/USER/your/wiki/path/public/templates/ --css"
#ExecStart=/bin/bash -c "PATH=/home/USER/.local/share/gem/ruby/2.7.0/bin:$PATH exec gollum --config /home/USER/your/wiki/path/config.rb --template-dir /home/USER/your/wiki/path/public/templates/ --css"
# PwOSS - Wiki
WorkingDirectory=/home/USER/pwoss/path/to/the/Wiki
ExecStart=/bin/bash -c "PATH=/home/USER/.gem/ruby/2.7.0/bin:$PATH exec gollum --config /home/USER/your/wiki/path/config.rb --template-dir /home/USER/pwoss/path/to/the/Wiki/public/templates/ --css"
ExecStart=/bin/bash -c "PATH=/home/USER/.local/share/gem/ruby/2.7.0/bin:$PATH exec gollum --config /home/USER/your/wiki/path/config.rb --template-dir /home/USER/pwoss/path/to/the/Wiki/public/templates/ --css"
Restart=on-abort


Loading…
Cancel
Save