-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add systemd service #3
Comments
Thank you, will add this service file in a new release |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I made a few tests with your tool on Debian Stretch and i made a simple systemd service file :
(in /lib/systemd/system create a file named : openvmonitor.service)
[Unit]
Description=OpenVmonitor - OpenvSwitch analysis tool
Documentation=https://github.com/PLVision/open_vmonitor
After=network.target
[Service]
Environment=NODE_PORT=3000
Environment=NODE_MODE=http
Type=simple
User=openvmonitor
ExecStart=/usr/bin/node /home/openvmonitor/open_vmonitor/app.js
Restart=on-failure
[Install]
WantedBy=multi-user.target
I assume :
To enable :
systemctl daemon-reload
systemctl enable openvmonitor
Feel free to use it as you wish.
Many thanks for this tool, it work well with openvswitch on Proxmox 5.1, nice job. :)
The text was updated successfully, but these errors were encountered: