Score:0

what is the local when rc.local is run

ky flag

I have a java webapp which is auto started via rc.local which uses jasper to generate a pdf which has currency symbols. The currency symbol used is '$' when I start the app from root manually it produces the desired '£' symbol. What do I need to set to run the desired symbol via the rc.local please?

Luuk avatar
cn flag
You can _force_ an application to use a specific locale, see (stackoverflow.com): [Forcing "date" to use a locale other than the machine default](https://stackoverflow.com/questions/12896509/forcing-date-to-use-a-locale-other-than-the-machine-default), which is about `date` to a different locale, but using `LC_ALL` will change the entire locale settings.
Luuk avatar
cn flag
Also note: "IMPORTANT: It is important to remember /etc/rc.local is discontinued and replaced. The current method to run scripts at boot is described after instructions to enable /etc/rc.local." (https://linuxhint.com/use-etc-rc-local-boot/)
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.