Skip to content

Commit 936c466

Browse files
committed
fix systemd instructions
1 parent 5d23600 commit 936c466

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

install.sh

+12-4
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,18 @@ echo_systemd_postinstall() {
9696
cath << EOF
9797
$1 package has been installed.
9898
99-
To have systemd start coder now and restart on boot:
100-
sudo systemctl enable --now coder@\$USER
101-
Or, if you don't want/need a background service you can run:
102-
coder
99+
To run Coder as a system service:
100+
101+
# Configure the PostgreSQL database for Coder
102+
sudo vim /etc/coder.d/coder.env
103+
104+
# Have systemd start Coder now and restart on boot
105+
sudo systemctl enable --now coder
106+
107+
Or, run a temporary deployment (all data is in-memory
108+
and destroyed on exit):
109+
110+
coder server --dev
103111
EOF
104112
}
105113

0 commit comments

Comments
 (0)