How to run as a proper systemd service #1621
Unanswered
MrWhiteABEX
asked this question in
Q&A
Replies: 1 comment
-
When you run in foreground it's more like running as an application and not as an daemon so having a service run in foreground does not make sense. We have some service files stored in our code and you can have a look at them if that helps. If the service is not able to mount then why should you get directory already mounted error ? If you can share more details on this, may be I can help. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When using the exemplary systemd unit on Ubuntu 22.04 the systemctl reports the service as not running. You can fix this problem partly by running it with --foreground. But the service cannot be restarted. While the directory is empty following blobfuse mount commands report the path to be already mounted. So you have to manually unmount first for cleanup. Any ideas what I am doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions