debmaker/ressources/minio/rootfs/usr/lib/systemd/system/minio.service

24 lines
476 B
SYSTEMD
Raw Normal View History

2022-10-08 04:56:45 +02:00
[Unit]
Description=Minio
ConditionFileIsExecutable=/usr/bin/minio
After=syslog.target network-online.target
[Service]
User=minio
Group=minio
EnvironmentFile=/etc/default/minio
StartLimitInterval=5
StartLimitBurst=10
ExecStart=/usr/bin/minio server /var/lib/minio
PrivateTmp=true
PrivateDevices=true
ProtectHome=true
ProtectSystem=strict
WorkingDirectory=/var/lib//minio/
ReadWriteDirectories=/var/lib/minio/
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target