[Unit] Description=VPN Router S3-compatible object storage (versitygw) Documentation=file:/usr/share/doc/vpn-router/README.md After=network-online.target Wants=network-online.target ConditionFileIsExecutable=/usr/bin/versitygw [Service] Type=simple EnvironmentFile=/etc/vpn-router/s3.env ExecStart=/usr/bin/versitygw posix /var/lib/vpn-router/s3/data Restart=on-failure RestartSec=15 LimitNOFILE=65536 NoNewPrivileges=yes ProtectSystem=strict ReadWritePaths=/var/lib/vpn-router/s3 ProtectHome=yes PrivateTmp=yes [Install] WantedBy=multi-user.target