Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to start width daemon #952

Open
lrjxgl opened this issue Mar 7, 2024 · 1 comment
Open

how to start width daemon #952

lrjxgl opened this issue Mar 7, 2024 · 1 comment

Comments

@lrjxgl
Copy link

lrjxgl commented Mar 7, 2024

how to start width daemon

@giterlizzi
Copy link
Contributor

Hi,
I have created this SystemD unit to manage ZincSearch as a bootable service:

[Unit]
Description=ZincSearch
After=multi-user.target

[Service]
WorkingDirectory=/data/zincsearch
ExecStart=/usr/local/bin/zincsearch
ExecStop=/bin/kill $MAINPID
User=toor
Type=simple
LimitNOFILE=65536
Restart=on-failure
MemoryMax=2G

[Install]
WantedBy=multi-user.target

The .env file containing the ZincSearch configurations is located in the /data/zincsearch directory (WorkingDirectory config).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants