mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
[Untested] Adding settings database via CALIBRE_DBPATH envirnoment variable
This commit is contained in:
parent
f8dc5c1b85
commit
80000e3d40
2 changed files with 3 additions and 2 deletions
|
@ -16,7 +16,7 @@ calibreweb_exec_path: "{{ calibreweb_path }}/cps.py"
|
|||
# Calibre-web setup will be provisioned with default administration account, metadata.db and
|
||||
# language. You could turn this to 'False' while reinstalling/upgrading calibre-web.
|
||||
calibreweb_provision: True
|
||||
calibreweb_database: "{{ calibreweb_path }}/app.db"
|
||||
calibreweb_database: app.db
|
||||
|
||||
#calibre-web system user
|
||||
calibreweb_user: root
|
||||
|
|
|
@ -2,8 +2,9 @@ Description=Calibre-Web
|
|||
|
||||
[Service]
|
||||
Type=simple
|
||||
Environment=CALIBRE_DBPATH={{ calibreweb_home }}
|
||||
User={{ calibreweb_user }}
|
||||
ExecStart={{ calibreweb_exec_path }} -p {{ calibreweb_database }}
|
||||
ExecStart={{ calibreweb_exec_path }} -p {{calibreweb_home}}{{ calibreweb_database }}
|
||||
WorkingDirectory={{ calibreweb_path }}
|
||||
|
||||
[Install]
|
||||
|
|
Loading…
Add table
Reference in a new issue