Closed ostasevych closed 6 months ago
I don't have access to my home system to check but have you tried the -signal line without the quotes?
You specified a tag, so when you call Apprise, are you using --tag test
?
If you only have 1 URL, you don't need to define a tag either.
You specified a tag, so when you call Apprise, are you using
--tag test
?If you only have 1 URL, you don't need to define a tag either.
Sorry, I haven't mentioned, there are several tags there, they are just cut:
version: 1
urls:
- "signal://localhost:9922/*********/**********":
- tag: testme
- "signal://localhost:9922/*********/group.**************=":
- tag: test
I don't have access to my home system to check but have you tried the -signal line without the quotes?
The same error.
Just looking at your config and the docs,... /etc/apprise/configuration.yaml
is not valid.
See here
Just looking at your config and the docs,...
/etc/apprise/configuration.yaml
is not valid.See here
what do you mean, it is not valid? It works with the "-c" option. And it is located in the directory /etc/apprise
@ostasevych I think I see the confusion
The list you have snipped and pasted are locations for YAML files (that have a .yaml suffix) or TEXT files (that have no suffix)
So the entry for /etc/apprise
is if you have a text file for your configuration named apprise
, that is in /etc/
If you move your file up one folder and rename it to be /etc/apprise.yaml
it should work for you.
I don't see the harm in adding an update to the CLI tool scan certain directories during startup if you see value. It would need to extend beyond /etc/apprise
though. It would need to look in ~/.config/apprise
too if it were a directory in addition to Microsoft windows support. Thinking back, i guess there would have been lest confusion if the TEXT
file were to just be /etc/apprise.conf
instead of /etc/apprise
.
I can do a pull request to make this a bit more obvious
The PR i just created will not fix your request (no scanning of an /etc/apprise
directory). However it should make it a bit more clear how the files should be placed. You just need to do the following and your file will work today:
mv /etc/apprise/configuration.yaml /etc/apprise.yaml
# Possibly tidy up too:
# rm -rf /etc/apprise
In the future I have removed obvious documentation of /etc/apprise
and alike reference, but still explaining that a file placed as such would work.
A new release (v1.7.4) just release which includes this fix. :rocket: Closing issue off.
Hi! I have created
However when I start apprise without indicating path to the config file it reports
Where this file should be placed in order not to provide it as an attribute to the command?