[PR #354] [MERGED] adds support for ubuntu init script default file [/etc/default/webvirtmgr-novnc] #637

Closed
opened 2026-02-27 16:39:58 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/retspen/webvirtmgr/pull/354
Author: @junkb
Created: 6/30/2014
Status: Merged
Merged: 7/2/2014
Merged by: @retspen

Base: masterHead: master


📝 Commits (2)

  • b40b530 updated webvirtmgr-novnc-ubuntu
  • c24ac7e Merge branch 'novnc-ubuntu'

📊 Changes

1 file changed (+15 additions, -8 deletions)

View changed files

📝 conf/initd/webvirtmgr-novnc-ubuntu (+15 -8)

📄 Description

allows local settings for things like user/group to run as, location of daemon, etc - without needing to modify init script.

e.g.:

>cat /etc/default/webvirtmgr-novnc
# Defaults for webvirtmgr-novnc init script
# sourced by /etc/init.d/webvirtmgr-novnc-ubuntu

#
# This is a POSIX shell fragment
#

# directory in which webvirtmgr-novnc is found
#DAEMON_PREFIX='/var/www/webvirtmgr/console'
DAEMON_PREFIX='/opt/webvirtmgr/console'

# user to run novnc as
#USER='www-data'
USER='webvirtmgr'

#GROUP='www-data'
GROUP='webvirtmgr'

also includes a few changes to adhere to ubuntu conventions for /run/, and some misc quoting and variable reuse modifications.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/retspen/webvirtmgr/pull/354 **Author:** [@junkb](https://github.com/junkb) **Created:** 6/30/2014 **Status:** ✅ Merged **Merged:** 7/2/2014 **Merged by:** [@retspen](https://github.com/retspen) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`b40b530`](https://github.com/retspen/webvirtmgr/commit/b40b530ac40c2e5be6fc4995ad1a0ed8219f2fc8) updated webvirtmgr-novnc-ubuntu - [`c24ac7e`](https://github.com/retspen/webvirtmgr/commit/c24ac7e8ead25cfc39ec56596f27cd08685bb8ac) Merge branch 'novnc-ubuntu' ### 📊 Changes **1 file changed** (+15 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `conf/initd/webvirtmgr-novnc-ubuntu` (+15 -8) </details> ### 📄 Description allows local settings for things like user/group to run as, location of daemon, etc - without needing to modify init script. e.g.: ``` bash >cat /etc/default/webvirtmgr-novnc # Defaults for webvirtmgr-novnc init script # sourced by /etc/init.d/webvirtmgr-novnc-ubuntu # # This is a POSIX shell fragment # # directory in which webvirtmgr-novnc is found #DAEMON_PREFIX='/var/www/webvirtmgr/console' DAEMON_PREFIX='/opt/webvirtmgr/console' # user to run novnc as #USER='www-data' USER='webvirtmgr' #GROUP='www-data' GROUP='webvirtmgr' ``` also includes a few changes to adhere to ubuntu conventions for /run/, and some misc quoting and variable reuse modifications. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 16:39:58 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtmgr#637
No description provided.