mirror of
				https://github.com/arcan1s/ahriman.git
				synced 2025-10-31 05:43:41 +00:00 
			
		
		
		
	feat: allow cross reference in the configuration (#131)
This commit is contained in:
		| @ -6,7 +6,7 @@ logging = ahriman.ini.d/logging.ini | ||||
| ; Perform database migrations on the application start. Do not touch this option unless you know what are you doing. | ||||
| ;apply_migrations = yes | ||||
| ; Path to the application SQLite database. | ||||
| database = /var/lib/ahriman/ahriman.db | ||||
| database = ${repository:root}/ahriman.db | ||||
|  | ||||
| [alpm] | ||||
| ; Path to pacman system database cache. | ||||
| @ -119,9 +119,9 @@ host = 127.0.0.1 | ||||
| ; Disable status (e.g. package status, logs, etc) endpoints. Useful for build only modes. | ||||
| ;service_only = no | ||||
| ; Path to directory with static files. | ||||
| static_path = /usr/share/ahriman/templates/static | ||||
| static_path = ${templates}/static | ||||
| ; List of directories with templates. | ||||
| templates = /usr/share/ahriman/templates | ||||
| templates = ${prefix}/share/ahriman/templates | ||||
| ; Path to unix socket. If none set, unix socket will be disabled. | ||||
| ;unix_socket = | ||||
| ; Allow unix socket to be world readable. | ||||
| @ -246,7 +246,7 @@ template = email-index.jinja2 | ||||
| ; Template name to be used for full packages list generation (same as HTML report). | ||||
| ;template_full = | ||||
| ; List of directories with templates. | ||||
| templates = /usr/share/ahriman/templates | ||||
| templates = ${prefix}/share/ahriman/templates | ||||
| ; SMTP user. | ||||
| ;user = | ||||
|  | ||||
| @ -265,7 +265,7 @@ templates = /usr/share/ahriman/templates | ||||
| ; Template name to be used. | ||||
| template = repo-index.jinja2 | ||||
| ; List of directories with templates. | ||||
| templates = /usr/share/ahriman/templates | ||||
| templates = ${prefix}/share/ahriman/templates | ||||
|  | ||||
| ; Remote service callback trigger configuration sample. | ||||
| [remote-call] | ||||
| @ -295,7 +295,7 @@ templates = /usr/share/ahriman/templates | ||||
| ; Template name to be used. | ||||
| template = rss.jinja2 | ||||
| ; List of directories with templates. | ||||
| templates = /usr/share/ahriman/templates | ||||
| templates = ${prefix}/share/ahriman/templates | ||||
|  | ||||
| ; Telegram reporting trigger configuration sample. | ||||
| [telegram] | ||||
| @ -316,7 +316,7 @@ template = telegram-index.jinja2 | ||||
| ; Telegram specific template mode, one of MarkdownV2, HTML or Markdown. | ||||
| ;template_type = HTML | ||||
| ; List of directories with templates. | ||||
| templates = /usr/share/ahriman/templates | ||||
| templates = ${prefix}/share/ahriman/templates | ||||
| ; HTTP request timeout in seconds. | ||||
| ;timeout = 30 | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user