debmaker/ressources/minio/rootfs/usr/lib/systemd/system/minio.service
2022-10-08 04:56:45 +02:00

23 lines
476 B
Desktop File

[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