mirror of
https://github.com/YunoHost-Apps/ntfy_ynh.git
synced 2024-09-03 19:46:27 +02:00
move settings to the config file
This commit is contained in:
parent
c6e4a41787
commit
bb8f3627f4
2 changed files with 3 additions and 3 deletions
|
@ -3,6 +3,9 @@
|
|||
# Please refer to the documentation at https://ntfy.sh/docs/config/ for details.
|
||||
# All options also support underscores (_) instead of dashes (-) to comply with the YAML spec.
|
||||
|
||||
base-url: "https://__DOMAIN__"
|
||||
listen-http: "127.0.0.1:__PORT__"
|
||||
|
||||
cache-file: __INSTALL_DIR__/data/cache.db
|
||||
cache-startup-queries: |
|
||||
pragma journal_mode = WAL;
|
||||
|
|
|
@ -3,9 +3,6 @@ Description=ntfy server
|
|||
After=network.target
|
||||
|
||||
[Service]
|
||||
Environment="NTFY_LISTEN_HTTP=localhost:__PORT__"
|
||||
Environment="NTFY_BASE_URL=https://__DOMAIN__"
|
||||
Environment="NTFY_BEHIND_PROXY=1"
|
||||
Environment="NTFY_CONFIG_FILE=__INSTALL_DIR__/server.yml"
|
||||
|
||||
Type=simple
|
||||
|
|
Loading…
Reference in a new issue