correct spacing
This commit is contained in:
parent
0fc93a023c
commit
f5032bd391
38
README.org
38
README.org
|
@ -48,9 +48,9 @@ commands in the following section as that user.
|
||||||
|
|
||||||
** Building the frontend
|
** Building the frontend
|
||||||
#+BEGIN_SRC bash
|
#+BEGIN_SRC bash
|
||||||
cd frontend
|
cd frontend
|
||||||
yarn install --frozen-lockfile
|
yarn install --frozen-lockfile
|
||||||
yarn build
|
yarn build
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** Building the backend
|
** Building the backend
|
||||||
|
@ -64,7 +64,7 @@ commands in the following section as that user.
|
||||||
** Running
|
** Running
|
||||||
Execute the binary to ensure it all works properly:
|
Execute the binary to ensure it all works properly:
|
||||||
#+BEGIN_SRC bash
|
#+BEGIN_SRC bash
|
||||||
./codies --debug
|
./codies --debug
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** Daemonizing
|
** Daemonizing
|
||||||
|
@ -76,23 +76,23 @@ Below is a service file for systemd. If you want to use it, paste the
|
||||||
contents into ~/etc/systemd/system/codies.service~.
|
contents into ~/etc/systemd/system/codies.service~.
|
||||||
|
|
||||||
#+BEGIN_SRC text
|
#+BEGIN_SRC text
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Codies
|
Description=Codies
|
||||||
After=network.target network-online.target
|
After=network.target network-online.target
|
||||||
Requires=network-online.target
|
Requires=network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
User=codies
|
User=codies
|
||||||
Group=codies
|
Group=codies
|
||||||
WorkingDirectory=/home/codies/codies
|
WorkingDirectory=/home/codies/codies
|
||||||
ExecStart=/home/codies/codies/codies --debug
|
ExecStart=/home/codies/codies/codies --debug
|
||||||
TimeoutStopSec=5s
|
TimeoutStopSec=5s
|
||||||
PrivateTmp=true
|
PrivateTmp=true
|
||||||
ProtectSystem=full
|
ProtectSystem=full
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** Reverse proxy
|
** Reverse proxy
|
||||||
|
|
Loading…
Reference in New Issue