1
0
Fork 0
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:
OniriCorpe 2024-01-16 20:42:20 +01:00
parent c6e4a41787
commit bb8f3627f4
2 changed files with 3 additions and 3 deletions

View file

@ -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;

View file

@ -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