mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-26 08:05:54 +03:00
[GH-ISSUE #144] Add systemd service file #120
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @normaldotcom on GitHub (Nov 7, 2013).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/144
For use on systemd-based Linux distributions, you should include a systemd service file in your distribution. Here is one I have working on my Arch Linux system. Some settings (such as ExecStart path) should probably be moved to the conf.d/webvirtmgr-novnc file, as webvirtmgr should probably be installed somewhere else under Arch packaging guidelines.
[Unit]
Description=WebVirtMgr NoVNC proxy
[Service]
EnvironmentFile=/etc/conf.d/webvirtmgr-novnc
Environment=PYTHONPATH=/usr/share/novnc/utils/
User=http
Group=http
ExecStart=/var/www/webvirtmgr/console/webvirtmgr-novnc
Type=simple
[Install]
WantedBy=multi-user.target
@retspen commented on GitHub (Dec 12, 2013):
Thanks!
https://raw.github.com/retspen/webvirtmgr/anna/conf/initd/webvirtmgr-novnc-arch