Skip to content

yyovkov/zfplabserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Install Tremol ZFPLabServer on CentOS

Add user

sudo useradd -r -d /opt/zfplabserver -m -k /dev/zero -s /sbin/bologin zfplabserver

Copy ZFPLabServer installation

cp -r ${HOME}/temp/ZFPLABServerLinux/* /opt/zfplabserver
sudo chown -R zfplabserver:zfplabserver /opt/zfplabserver
sudo chmod u+x /opt/zfplabserver/zfplabserver

Setup zfplabserver as service

  • Create sysmtemd control script
[Unit]
Description=ZFPLab Server
After=network.target

[Service]
Type=simple
WorkingDirectory=/opt/zfplabserver
User=zfplabserver
ExecStart=/opt/zfplabserver/zfplabserver
ExecStop=/usr/bin/curl -s http://localhost:4444/exit
Restart=always

[Install]
WantedBy=multi-user.target
' | sudo tee /etc/systemd/system/zfplabserver.service
  • Reload systemd daemon After ading new file, it is required to relod the systemd daemon in order the changes to take effect
sudo systemctl daemon-reload
  • Start zfplabserver service
sudo systemctl enable --now zfplabserver

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published