Skip to content

zakery1369/Qryn-Unit-File

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Qryn-Unit-File

qryn systemd unit file

Qryn

1.Create the qryn.service in the following path.

nano /etc/systemd/system/qryn.service

2.Place its contents as follows.

[Unit]
Description=qryn service
After=network.target

[Service]
EnvironmentFile=/etc/default/qryn_env
Type=simple
User=root
ExecStart=qryn 

[Install]
WantedBy=multi-user.target

3.Create the qryn_env in the following path.

nano /etc/default/qryn_env

4.Place its contents as follows.

NODE_PORT=3100
CLICKHOUSE_SERVER="my.clickhouse.server"
CLICKHOUSE_AUTH="default:YOUR_PASSWORD"
CLICKHOUSE_DB="qryn"

5.Reload the systemd files.

systemctl daemon-reload

6.Start qryn.

systemctl start qryn

Releases

No releases published

Packages

No packages published