-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to run minio as Daemon process? #4155
Comments
Please read this https://github.com/minio/minio-service/tree/master/linux-systemd @akb2017 and let us know how it goes. |
But that one requires root access right? I want to run this without root access |
It doesn't require root access.. you can configure the system daemon to run as a normal user. |
https://github.com/minio/minio-service/tree/master/linux-systemd#note - read the Note here. First you need to configure the service as root and then subsequently make a proper user without shell to run the service. |
Ok i will try it now |
This one working fine for running single instance minio ..But getting error when i tried as cluster Starting Minio... |
// cc @hackintoshrao can you check? |
Will validate the script for distributed Minio. |
ok |
Iam getting the error like this --> Iam running this on 4 ubuntu machines Local export path.MINIO_VOLUMES=http://192.168.1.22/home/minio/data http://192.168.1.23/home/minio/data http://192.168.1.24/home/minio/data http://192.168.1.25/home/minio/data # Minio data storage directory Access Key of the server.MINIO_OPTS="--address :9000" Secret key of the server.MINIO_SECRET_KEY=minio2015 minio.service file --> [Service] User=minio PermissionsStartOnly=true EnvironmentFile=-/etc/default/minio ExecStart=/opt/minio/minio server $MINIO_OPTS $MINIO_VOLUMES StandardOutput=journal Specifies the maximum file descriptor number that can be opened by this processLimitNOFILE=65536 Disable timeout logic and wait until process is stoppedTimeoutStopSec=0 SIGTERM signal is used to stop MinioKillSignal=SIGTERM SendSIGKILL=no SuccessExitStatus=0 [Install] Built for ${project.name}-${project.version} (${project.name}) |
@akb2017 : Can you also send the logs of Minio using the command |
version: 2017-03-16T21:50:32Z root@deds13:/var/minio# journalctl -u minio.service |
If I specify my MINIO_VOLUMES with a comment in the line, minio won't start either. Try removing the comment in your config file. |
Yeh its working fine now .. |
I have a problem and getting a job assertion failed error |
Assertion failed on job for minio.service. |
how? |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I want to run minio as Daemon process or to run in background ..How to run minio as Daemon process in ubuntu without root access?
The text was updated successfully, but these errors were encountered: