correct spacing
This commit is contained in:
parent
0fc93a023c
commit
f5032bd391
32
README.org
32
README.org
|
@ -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