Skip to content

Commit

Permalink
services configs
Browse files Browse the repository at this point in the history
  • Loading branch information
mcfly722 committed Sep 15, 2024
1 parent 10e502b commit 8f0100b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ EOF
# --------------- 1.3 Register Cloak Client as service -------------------
sudo tee /lib/systemd/system/cloak-client.service << EOF
sudo tee /etc/systemd/system/cloak-client.service << EOF
[Unit]
Description=Cloak Client Service
After=network-online.target
Expand Down Expand Up @@ -298,9 +298,12 @@ After=network.target
StartLimitIntervalSec=0
[Service]
Type=simple
ExecStart=/usr/bin/ck-server -c /etc/cloak/cloak-server.json
WorkingDirectory=/tmp
StandardOutput=inherit
StandardError=inherit
Restart=always
User=root
[Install]
WantedBy=multi-user.target
Expand Down

0 comments on commit 8f0100b

Please sign in to comment.