Disregarding the username in ConditionPathExists, what would do use for these kinds of services?
Yunohost does not create UNIX users as far as I know, only ldap ones, so I would have to create one manually.
So I would think admin is better to use than creating a new user or am I missing something?
The duniter yunohost package does not have a daemon, so I have manually created one on my Yunohost + Duniter Pi3 server.
I am replacing my Pi3 with a LIME2 have installed and I’m now wondering if adding a unix user is actually necessary, since I could probably also just run it as admin.
Duniter should not be run as root.
I found a official duniter.service file from duniter, that I haven’t seen before on my LIME2 and wasn’t on my Pi3, using user duniter, so I guess that answers the question.
The only problem is that my systemd is still broken.
So ! It’s an issue with the package duniter then !
But, actually, it isn’t an issue since the service is just not enable in the deb package.
If you need that service running at startup, open an issue on the duniter_ynh repo to ask for it.
Or, you can try a crazy idea, (Even if I’m not sure I would even dare to do so myself), explain clearly your problem at the beginning…