-
I'm currently in the process of writing a custom user service based on the one in the following Artix Linux forum thread, with which to start a supervised instance of For starters, I use GnuPG with a custom My current service definition looks like this:
While the script that this service runs is as follows:
Of course, this service does not properly start up, instead hanging the terminal when attempting to start it. How might I be able to address this given what I currently have? I fear that I may be misunderstanding |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
One problem that stands out to me is that you are using I would have expected that this would cause opening the socket to fail and so the service would fail to start. Have you checked the service status, and the dinit log? |
Beta Was this translation helpful? Give feedback.
One problem that stands out to me is that you are using
$GPG_SOCKET_DIR
in the service description file but it looks likeGPG_SOCKET_DIR
isn't set until the service runs (viadinitctl setenv GPG_SOCKET_DIR
in the script). If the service description for a service uses a variable then the variable must be set at the time the service description is loaded.I would have expected that this would cause opening the socket to fail and so the service would fail to start. Have you checked the service status, and the dinit log?