▲ | c0balt 7 days ago | ||||||||||||||||
For what it's worth this will not work properly, you have different environment variables for user and system units. Proper error handling and graceful fallback for these cases are probably worth a module here (though it could be a 10-20 liner instead too). | |||||||||||||||||
▲ | TheDong 6 days ago | parent [-] | ||||||||||||||||
> you have different environment variables for user and system units Really? I thought the point of the environment variable was it was the same, and the directory it pointed to differed depending on the service type. I'd love a reference since at least for every systemd version I've used, you're wrong. > Proper error handling and graceful fallback That's application specific, so it can't really fit in a generic library well. | |||||||||||||||||
|