A
A
Alexey2016-10-11 15:06:52
linux
Alexey, 2016-10-11 15:06:52

How to properly describe sshfs mounting in supervisor?

What is the correct way to describe in supervisor how to mount a remote directory via sshfs?
At the moment it is described as follows, it produces FATAL, but it is mounted.

[program:sshfs]
command=sshfs [email protected] mount -o reconnect,allow_other,nonempty
stdout_logfile=/var/log/supervisor/sshfs-stdout.log
stderr_logfile=/var/log/supervisor/sshfs-stderr.log
redirect_stderr=true
startsecs=20
startretries=1
autostart=true
autorestart=true
numprocs=1

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question