Closed emxsys closed 4 years ago
This may require the use of sudo
to use the var/lib
location, e.g.:
sudo callattendant
Issue: What to do if sudo
isn't used?
Also, users may not be comfortable running callattendant
with root privileges. I too, as a developer, am not comfortable requiring root privileges for my app.
I will not use this technique, but I will ensure the system can be configured by the user to use it (via the confg files).
Instead, I will set the default location for the data to $HOME/.callattendant
, i.e., ~/.callattendant
.
Change the location of the data (callattendant.db and message .wav files) from the application distribution folder to the linux
/var/lib
folder hierarchy.Old folder:
<callattendant install folder>/callattendant/data
New folder:/var/lib/callattendant